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
commit05125e835e7a6ae2a0e1ba900e474216ec704429 (patch)
tree391fe2dbdbacb26dd788c498dbcc7a626a45918e
parent2bc9066af4eaebe672d39265d9421c09fa086610 (diff)
downloadsystembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar.gz
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar.bz2
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar.lz
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar.xz
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.tar.zst
systembsd-05125e835e7a6ae2a0e1ba900e474216ec704429.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)