Commit f93a83a4 authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Unset connection pointer only once

parent 370113b5
......@@ -541,8 +541,8 @@ gupnp_network_manager_dispose (GObject *object)
if (priv->connection) {
dbus_connection_close (priv->dbus_connection);
dbus_g_connection_unref (priv->connection);
priv->connection = NULL;
}
priv->connection = NULL;
/* Call super */
object_class = G_OBJECT_CLASS (gupnp_network_manager_parent_class);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment