xfrun + dbus integration

Nick Schermer nickschermer at gmail.com
Sun Jul 16 18:33:44 CEST 2006


Here is a small patch to unref the dbus connection. Everything seems
to work fine with this patch and valgrind reports ~15Kb less mem leak.
Maybe it's even better to add these lines (??) :

if(G_LIKELY(dbus_connection_get_is_connected(connection)))
    dbus_connection_disconnect (connection);
if(G_LIKELY(connection != NULL))
        dbus_connection_unref(connection);

Anyway, enough info /me continues to find leaks.

Greets,
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfrun4-unref-dbus-connection.patch
Type: application/octet-stream
Size: 712 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060716/c12decda/attachment.obj>


More information about the Xfce4-dev mailing list