Memory leaks in glib bindings
Ross Burton
ross at burtonini.com
Tue Jun 21 02:47:49 PDT 2005
On Mon, 2005-06-20 at 15:55 -0400, Colin Walters wrote:
> Ok, I made that change, and also added a g_free (context) in the
> _return_error function. I'm less sure if this is right though because
> there are no async server tests in test/glib (hint :)).
This change slipped through the net when you rewrote the patch:
Index: glib/dbus-gobject.c
===================================================================
--- glib/dbus-gobject.c (.../upstream/current) (revision 201)
+++ glib/dbus-gobject.c (.../trunk) (revision 201)
@@ -1593,6 +1595,7 @@
dbus_g_connection_unref (context->connection);
dbus_g_message_unref (context->message);
g_free (context);
+ g_free (out_sig);
}
/**
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the dbus
mailing list