How to free ressources allocated by dbus_bus_get ?

Thiago Macieira thiago at
Tue Nov 7 06:32:31 PST 2006

10function wrote:
>I was wondering how memory ressources claimed by 'dbus_bus_get' should
> be released. I used 'dbus_connection_unref' and 'dbus_connection_close'
> calls, but memory leaks are always present.

They don't get released. And your valgrind trace shows no memory leaks.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the dbus mailing list