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:
be70959
)
Plug a minor memory leak in GDBusObjectProxy
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 6 Aug 2012 15:03:42 +0000
(11:03 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 6 Aug 2012 15:03:42 +0000
(11:03 -0400)
As pointed out by Patrick Ohly in bug 680505,
GDBusObjectProxy was forgetting to free its object_path.
gio/gdbusobjectproxy.c
patch
|
blob
|
history
diff --git
a/gio/gdbusobjectproxy.c
b/gio/gdbusobjectproxy.c
index
e80641b
..
da76c8b
100644
(file)
--- a/
gio/gdbusobjectproxy.c
+++ b/
gio/gdbusobjectproxy.c
@@
-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)