1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

Fix leaks of dbus proxy and conn

This commit is contained in:
Mukund Sivaraman 2008-08-14 10:58:37 +00:00
parent 3895b39d60
commit a8a57d0024

View file

@ -493,6 +493,9 @@ gtr_dbus_add_torrent( const char * filename )
G_TYPE_INVALID );
if( err )
g_message( "err: %s", err->message );
g_object_unref( proxy );
dbus_g_connection_unref( conn );
#endif
return success;
}