[Xfce4-commits] <xfce4-session:master> Uset the GValue used to get polkit authorization result.

Jérôme Guelfucci noreply at xfce.org
Sat Feb 27 00:36:09 CET 2010


Updating branch refs/heads/master
         to bd232527cbdff46d49f91656be7f12a6bae6b335 (commit)
       from c1047579c461257c674ced0ae50d1e5a013b9c6e (commit)

commit bd232527cbdff46d49f91656be7f12a6bae6b335
Author: Ali Abdallah <aliov at xfce.org>
Date:   Wed Feb 3 11:21:01 2010 +0100

    Uset the GValue used to get polkit authorization result.

 xfce4-session/xfsm-shutdown-helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xfce4-session/xfsm-shutdown-helper.c b/xfce4-session/xfsm-shutdown-helper.c
index 81bf46a..16df203 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -928,6 +928,7 @@ xfsm_shutdown_helper_check_authorization (XfsmShutdownHelper *helper,
       dbus_g_type_struct_get (&result_val,
 			      0, &is_authorized,
 			      G_MAXUINT);
+      g_value_unset (&result_val);
     }
   else if ( error )
     {



More information about the Xfce4-commits mailing list