mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
Plug a minor memory leak in GDBusObjectProxy
As pointed out by Patrick Ohly in bug 680505, GDBusObjectProxy was forgetting to free its object_path.
This commit is contained in:
parent
be7095980e
commit
b2ddbd8f55
@ -73,6 +73,8 @@ g_dbus_object_proxy_finalize (GObject *object)
|
|||||||
|
|
||||||
g_clear_object (&proxy->priv->connection);
|
g_clear_object (&proxy->priv->connection);
|
||||||
|
|
||||||
|
g_free (proxy->priv->object_path);
|
||||||
|
|
||||||
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