1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk gtk) #5204 "Transmission GTK client crashes on start" -- another possible fix ;)

This commit is contained in:
Jordan Lee 2011-10-11 20:32:15 +00:00
parent ab0f563ddc
commit 6ec4aec13a

View file

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