how to free the memory got from dbus_message_get_args() ?
Havoc Pennington
hp at redhat.com
Fri Aug 11 06:53:49 PDT 2006
falls huang wrote:
> Hello!
>
> I'm new to dbus, and I have searched the mailing list but couldn't
> find any similar problem . My linux box version : ubuntu(dapper) ,
> dbus(0.60)
>
> If I uncomment either of "free(s)" or "dbus_free(s)" , the
> program will crash .
> But if I don't free , there'll be a memory leal.
>
>
There's no memory leak; the string is owned by the DBusMessage and not
copied.
Havoc
More information about the dbus
mailing list