Memory leaks in glib bindings

Colin Walters walters at verbum.org
Wed Jun 22 16:34:48 PDT 2005


On Tue, 2005-06-21 at 10:47 +0100, Ross Burton wrote:
> 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);
>  }

Thanks, applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050622/00ce634e/attachment.pgp


More information about the dbus mailing list