mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
GDBusObjectProxy: Don't leak connection
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
3964e708e9
commit
eedb6d8366
@ -71,6 +71,8 @@ g_dbus_object_proxy_finalize (GObject *object)
|
|||||||
|
|
||||||
g_hash_table_unref (proxy->priv->map_name_to_iface);
|
g_hash_table_unref (proxy->priv->map_name_to_iface);
|
||||||
|
|
||||||
|
g_clear_object (&proxy->priv->connection);
|
||||||
|
|
||||||
g_mutex_clear (&proxy->priv->lock);
|
g_mutex_clear (&proxy->priv->lock);
|
||||||
|
|
||||||
if (G_OBJECT_CLASS (g_dbus_object_proxy_parent_class)->finalize != NULL)
|
if (G_OBJECT_CLASS (g_dbus_object_proxy_parent_class)->finalize != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user