mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 11:40:10 +01:00
Don't leak messages when calling methods
This commit is contained in:
parent
6be5b25a71
commit
16dbb17287
2 changed files with 6 additions and 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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue