dbus/glib dbus-gproxy.c,1.36,1.37

Ross Burton ross at freedesktop.org
Fri Jul 15 23:25:51 EST 2005


Update of /cvs/dbus/dbus/glib
In directory gabe:/tmp/cvs-serv12559/glib

Modified Files:
	dbus-gproxy.c 
Log Message:
Don't leak messages when calling methods

Index: dbus-gproxy.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gproxy.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- dbus-gproxy.c	8 Jul 2005 16:25:36 -0000	1.36
+++ dbus-gproxy.c	15 Jul 2005 13:25:48 -0000	1.37
@@ -2045,6 +2045,7 @@
                                         &pending,
                                         -1))
     goto oom;
+  dbus_message_unref (message);
   g_assert (pending != NULL);
 
   call_id = ++proxy->call_id_counter;



More information about the dbus-commit mailing list