Author: nick
Date: 2007-11-21 16:21:16 +0000 (Wed, 21 Nov 2007)
New Revision: 26389

Modified:
   xfce4-panel/branches/xfce_4_4/NEWS
   xfce4-panel/branches/xfce_4_4/panel/panel-app.c
Log:
* Revert previous commit, session_free is not in the 4.4 api...


Modified: xfce4-panel/branches/xfce_4_4/NEWS
===================================================================
--- xfce4-panel/branches/xfce_4_4/NEWS  2007-11-21 15:58:12 UTC (rev 26388)
+++ xfce4-panel/branches/xfce_4_4/NEWS  2007-11-21 16:21:16 UTC (rev 26389)
@@ -1,8 +1,3 @@
-4.4.3
-=====
-- Fix memory leak in session management.
-
-
 4.4.2
 =====
 - Fix window manager hints reporting width 1 pixel too wide (bug #3402).

Modified: xfce4-panel/branches/xfce_4_4/panel/panel-app.c
===================================================================
--- xfce4-panel/branches/xfce_4_4/panel/panel-app.c     2007-11-21 15:58:12 UTC 
(rev 26388)
+++ xfce4-panel/branches/xfce_4_4/panel/panel-app.c     2007-11-21 16:21:16 UTC 
(rev 26389)
@@ -710,7 +710,7 @@
     TIMER_ELAPSED("connect to session manager");
     if (!session_init (panel_app.session_client))
     {
-        client_session_free (panel_app.session_client);
+        g_free (panel_app.session_client);
         panel_app.session_client = NULL;
     }   
     
@@ -735,8 +735,7 @@
     gtk_main ();
     
     /* cleanup */
-    if (panel_app.session_client)
-        client_session_free (panel_app.session_client);
+    g_free (panel_app.session_client);
 
     cleanup_panels ();
     xfce_panel_item_manager_cleanup ();

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to