diff options
author | Ross Burton <ross@openedhand.com> | 2005-07-15 13:25:48 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2005-07-15 13:25:48 +0000 |
commit | 16dbb17287c183c6f4e749a33fcffe6c03cb5766 (patch) | |
tree | cc940cb62941b8d7d5cf314c18ae30eaafca633c | |
parent | 6be5b25a71ec6b4e7efb35f20fc1f5357be5cffb (diff) |
Don't leak messages when calling methods
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | glib/dbus-gproxy.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-07-15 Ross Burton <ross@openedhand.com> + + * glib/dbus-gproxy.c: + Fix a leak when calling methods via the proxy. + 2005-07-15 Colin Walters <walters@verbum.org> * bus/selinux.c (bus_selinux_append_context): Wrap in diff --git a/glib/dbus-gproxy.c b/glib/dbus-gproxy.c index 929e52e4..0ebff603 100644 --- a/glib/dbus-gproxy.c +++ b/glib/dbus-gproxy.c @@ -2045,6 +2045,7 @@ dbus_g_proxy_begin_call_internal (DBusGProxy *proxy, &pending, -1)) goto oom; + dbus_message_unref (message); g_assert (pending != NULL); call_id = ++proxy->call_id_counter; |