GDBusObjectProxy: Don't leak connection

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2012-04-17 17:50:40 -04:00
parent 3964e708e9
commit eedb6d8366

View File

@ -71,6 +71,8 @@ g_dbus_object_proxy_finalize (GObject *object)
g_hash_table_unref (proxy->priv->map_name_to_iface);
g_clear_object (&proxy->priv->connection);
g_mutex_clear (&proxy->priv->lock);
if (G_OBJECT_CLASS (g_dbus_object_proxy_parent_class)->finalize != NULL)