[patch] updated glib work snapshot

Ross Burton ross at burtonini.com
Wed May 4 03:25:56 PDT 2005


On Tue, 2005-05-03 at 14:08 -0400, Colin Walters wrote:
> o Don't deallocate return values prematurely

Now Valgrind claims my factory is leaking.  I have a get() method which
dynamically generates a string and returns it via an "o" out argument,
which becomes a char**.

Interestingly sometimes the values leak, and sometimes valgrind says
they are still reachable, despite no obvious source of a pointer to
them.

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