mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
Fix leaks of dbus proxy and conn
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user