mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk gtk) #5204 "Transmission GTK client crashes on start" -- another possible fix ;)
This commit is contained in:
parent
ab0f563ddc
commit
6ec4aec13a
1 changed files with 5 additions and 2 deletions
|
@ -1415,8 +1415,11 @@ gtr_inhibit_hibernation( guint * cookie )
|
||||||
}
|
}
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
g_variant_unref( response );
|
if( response != NULL )
|
||||||
g_object_unref( connection );
|
g_variant_unref( response );
|
||||||
|
if( connection != NULL )
|
||||||
|
g_object_unref( connection );
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue