xfrun + dbus integration

Brian J. Tarricone bjt23 at cornell.edu
Sun Jul 16 19:38:39 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick,

Nick Schermer wrote:
> 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.

I'll apply it since it can't hurt, but I don't really care about leaks
in the client portion so much.  It's designed just to start, send a dbus
message, and quit.  The daemon half matters because it will likely be
running for the entirety of the user's desktop session.

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEunmf6XyW6VEeAnsRAi2RAKCXe8Y9S3uMd7ktIzP9r1KDZ3mB3wCfVWW1
lRO780HUFRB0DJneSUYSVys=
=gBKz
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list