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;
}