projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3964e70
)
GDBusObjectProxy: Don't leak connection
author
David Zeuthen
<davidz@redhat.com>
Tue, 17 Apr 2012 21:50:40 +0000
(17:50 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Tue, 17 Apr 2012 21:51:55 +0000
(17:51 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusobjectproxy.c
patch
|
blob
|
history
diff --git
a/gio/gdbusobjectproxy.c
b/gio/gdbusobjectproxy.c
index
2d18301
..
e80641b
100644
(file)
--- a/
gio/gdbusobjectproxy.c
+++ b/
gio/gdbusobjectproxy.c
@@
-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)