summaryrefslogtreecommitdiff
path: root/xfce4-session
diff options
context:
space:
mode:
authorAli Abdallah <aliov@xfce.org>2010-02-03 12:09:23 +0100
committerJérôme Guelfucci <jeromeg@xfce.org>2010-02-27 00:34:47 +0100
commit5646136fbd66c9f09f9f760bb294e3c73715694b (patch)
tree604887b05ad1bdcb053b2e6dc95d1f14ade9b5c4 /xfce4-session
parentbd232527cbdff46d49f91656be7f12a6bae6b335 (diff)
downloadxfce4-session-5646136fbd66c9f09f9f760bb294e3c73715694b.tar.gz
Fix consolekit proxy unref.
Diffstat (limited to 'xfce4-session')
-rw-r--r--xfce4-session/xfsm-shutdown-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfce4-session/xfsm-shutdown-helper.c b/xfce4-session/xfsm-shutdown-helper.c
index 16df2031..63306e9e 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -393,13 +393,13 @@ xfsm_shutdown_helper_init_polkit_data (XfsmShutdownHelper *helper)
g_free (consolekit_session);
subject_created = TRUE;
}
+ g_object_unref (proxy);
}
else if (error)
{
g_warning ("'GetSessionForCookie' failed : %s", error->message);
g_error_free (error);
}
- g_object_unref (proxy);
}
/**