memory leak ?
Havoc Pennington
hp at redhat.com
Tue Sep 5 08:30:38 PDT 2006
frederic heem wrote:
> Hi,
> Running a dbus application under valgrind shows some unfreed memory even if
> dbus_g_connection_unref is called.
> Is there any dbus glib function to clean everything ? It would be nice to have
> dbus valgrind friendly.
>
>
You can call dbus_shutdown() when not using glib, however if you're
using glib there's no g_shutdown() so you really have to use the actual
garbage-collection-based aspect of valgrind (i.e. ignore stuff that's
"still reachable" - I think there's a valgrind option to turn that off).
Havoc
More information about the dbus
mailing list