aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-08-16 15:08:35 +0800
committerkremlin <ian@kremlin.cc>2014-08-16 15:08:35 +0800
commitd4139c7486b6c8a9148526486b94755c1d2f9623 (patch)
tree391fe2dbdbacb26dd788c498dbcc7a626a45918e
parentf26fccb2b8ad100c78cca707877e7c3755901717 (diff)
downloadsystembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar.gz
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar.bz2
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar.lz
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar.xz
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.tar.zst
systembsd-d4139c7486b6c8a9148526486b94755c1d2f9623.zip
remove unnessecary free in polkit-auth.c
-rw-r--r--src/polkit-auth.c2
1 files changed, 0 insertions, 2 deletions
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)