[Xfce4-commits] [xfce/xfce4-session] 01/01: Fix session crash at logout (Bug #16105)

noreply at xfce.org noreply at xfce.org
Thu Nov 7 01:10:26 CET 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-session.

commit 4d7e2f2ed50b90840c57bbfd81a37318a29dfb97
Author: Liam Shepherd <liam at dark.ms>
Date:   Thu Nov 7 01:09:29 2019 +0100

    Fix session crash at logout (Bug #16105)
---
 xfce4-session/xfsm-consolekit.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/xfce4-session/xfsm-consolekit.c b/xfce4-session/xfsm-consolekit.c
index 9658eb5..9fd4c87 100644
--- a/xfce4-session/xfsm-consolekit.c
+++ b/xfce4-session/xfsm-consolekit.c
@@ -155,7 +155,11 @@ xfsm_consolekit_proxy_free (XfsmConsolekit *consolekit)
       consolekit->proxy = NULL;
     }
 
-  g_object_unref (G_OBJECT (consolekit->screensaver));
+  if (consolekit->screensaver != NULL)
+    {
+      g_object_unref (G_OBJECT (consolekit->screensaver));
+      consolekit->screensaver = NULL;
+    }
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list