[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Memory leaks in glib bindings
From: Ross Burton <ross () burtonini ! com>
Date: 2005-06-21 9:47:49
Message-ID: 1119347269.7794.4.camel () localhost ! localdomain
[Download RAW message or body]
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@burtonini.com
jabber: ross@burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic