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:
Matthias Clasen 2012-08-06 11:03:42 -04:00
parent be7095980e
commit b2ddbd8f55

View File

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