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

Ali Abdallah noreply at xfce.org
Wed Feb 3 11:24:01 CET 2010


Updating branch refs/heads/aliov/hal-deprecation
         to 5d51cc8620d294f3dc2e1bd0d78b28a0b3b9bb7f (commit)
       from 3d6e21cd734b36d642cbe036042efb5600525665 (commit)

commit 5d51cc8620d294f3dc2e1bd0d78b28a0b3b9bb7f
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