dbus-gmain.c mem leak

Havoc Pennington hp at redhat.com
Mon Apr 18 18:20:35 PDT 2005


On Mon, 2005-04-18 at 20:27 -0400, David Zeuthen wrote:
> 
> Anyone got a clue what's happening before I investigate further? 
> 

Haven't seen it. Valgrind definitely isn't helping much, just looks like
the global main context or something, which is expected.

> Also, would it be useful to integrate this test into the dbus source
> tree? If so, what is the best approach to integrate it?

I don't know how to do an automated leak check unit test with glib
involved, since glib will allocate memory it never frees... the way
you'd do it with only dbus involved would be to use
_dbus_get_malloc_blocks_outstanding().

Havoc




More information about the dbus mailing list