From: kremlin Date: Sat, 16 Aug 2014 07:08:35 +0000 (-0500) Subject: remove unnessecary free in polkit-auth.c X-Git-Tag: gsoc-final~9 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=commitdiff_plain;h=05125e835e7a6ae2a0e1ba900e474216ec704429;p=systembsd.git remove unnessecary free in polkit-auth.c --- diff --git a/src/polkit-auth.c b/src/polkit-auth.c index 00c2dc1..f967cd0 100644 --- a/src/polkit-auth.c +++ b/src/polkit-auth.c @@ -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)