[Xfce4-commits] <xfce4-session:aliov/hal-deprecation> Fix consolekit proxy unref.

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


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

commit 92c496c8c5fa9bd526e78bffa23e1c764dd062a3
Author: Ali Abdallah <aliov at xfce.org>
Date:   Wed Feb 3 12:09:23 2010 +0100

    Fix consolekit proxy unref.

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

diff --git a/xfce4-session/xfsm-shutdown-helper.c b/xfce4-session/xfsm-shutdown-helper.c
index 16df203..63306e9 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);
     }
   
   /**



More information about the Xfce4-commits mailing list