mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 04:18:39 +00:00
(trunk gtk) #5204 "Transmission GTK client crashes on start" -- another possible fix ;)
This commit is contained in:
@@ -1415,8 +1415,11 @@ gtr_inhibit_hibernation( guint * cookie )
|
||||
}
|
||||
|
||||
/* cleanup */
|
||||
g_variant_unref( response );
|
||||
g_object_unref( connection );
|
||||
if( response != NULL )
|
||||
g_variant_unref( response );
|
||||
if( connection != NULL )
|
||||
g_object_unref( connection );
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user