Memory leak in dbus / dbus-c++ ?

Thiago Macieira thiago at
Tue Jul 31 06:48:57 PDT 2007

Olivier Hochreutiner wrote:
>I used BoundChecker to detect where the memory that is not freed in
>allocated. It reports three places in the code (see attached file). I
>investigated the problem a bit and it seems that reply messages are
>not freed ?

DBusMessage memory blocks are recycled for reuse internally. That 
shouldn't count as memory leaks, because there are still pointers to the 

However, they would be memory leaks if the binding doesn't properly call 

  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: This is a digitally signed message part.
Url : 

More information about the dbus mailing list