remove unnessecary free in polkit-auth.c
authorkremlin <ian@kremlin.cc>
Sat, 16 Aug 2014 07:08:35 +0000 (02:08 -0500)
committerkremlin <ian@kremlin.cc>
Sat, 16 Aug 2014 07:08:35 +0000 (02:08 -0500)
src/polkit-auth.c

index 00c2dc1a90f8855af4d60dc5d3ed08a1651fcca8..f967cd07026257267297eb21a2311830118e23d1 100644 (file)
@@ -83,8 +83,6 @@ check_auth_result polkit_try_auth(const gchar *bus, const gchar *action, gboolea
     challenge = polkit_authorization_result_get_is_challenge(result);
 
     /* free()'s before return */
-    if(valid_actions)
-        g_object_unref(valid_actions);
     if(auth)
         g_object_unref(auth);
     if(subj)