[Pkg-xfce-commits] r1677 - in desktop/trunk/xfdesktop4/debian: . patches

corsac at alioth.debian.org corsac at alioth.debian.org
Thu Feb 28 15:18:49 UTC 2008


Author: corsac
Date: 2008-02-28 15:18:48 +0000 (Thu, 28 Feb 2008)
New Revision: 1677

Modified:
   desktop/trunk/xfdesktop4/debian/changelog
   desktop/trunk/xfdesktop4/debian/patches/03_fix-memory-leak.patch
Log:
* debian/patches: 03_fix-memory-leak refreshed, more memory leaks (xfce
  r26652 and r26635 xfce #3812)

Modified: desktop/trunk/xfdesktop4/debian/changelog
===================================================================
--- desktop/trunk/xfdesktop4/debian/changelog	2008-02-28 15:06:35 UTC (rev 1676)
+++ desktop/trunk/xfdesktop4/debian/changelog	2008-02-28 15:18:48 UTC (rev 1677)
@@ -1,3 +1,10 @@
+xfdesktop4 (4.4.2-5) UNRELEASED; urgency=low
+
+  * debian/patches: 03_fix-memory-leak refreshed, more memory leaks (xfce
+    r26652 and r26635 xfce #3812)
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Thu, 28 Feb 2008 16:13:22 +0100
+
 xfdesktop4 (4.4.2-4) unstable; urgency=low
 
   * debian/patches: 03_fix-memory-leak added, patch backported from

Modified: desktop/trunk/xfdesktop4/debian/patches/03_fix-memory-leak.patch
===================================================================
--- desktop/trunk/xfdesktop4/debian/patches/03_fix-memory-leak.patch	2008-02-28 15:06:35 UTC (rev 1676)
+++ desktop/trunk/xfdesktop4/debian/patches/03_fix-memory-leak.patch	2008-02-28 15:18:48 UTC (rev 1677)
@@ -10,3 +10,25 @@
      
      gtk_menu_shell_insert(menu_shell, mi, i);
      
+Index: xfce_4_4/modules/menu/desktop-menuspec.c
+===================================================================
+--- xfce_4_4/modules/menu/desktop-menuspec.c	(revision 26651)
++++ xfce_4_4/modules/menu/desktop-menuspec.c	(revision 26652)
+@@ -203,7 +203,7 @@
+                 else
+                     foundcat = NULL;
+                 if(!foundcat) {
+-                    g_ptr_array_free(revpath, FALSE);
++                    g_ptr_array_free(revpath, TRUE);
+                     revpath = NULL;
+                     break;
+                 }
+@@ -220,7 +220,7 @@
+                 newpath[totlen] = 0;
+                 
+                 g_ptr_array_add(mtfpi->paths, newpath);
+-                g_ptr_array_free(revpath, FALSE);
++                g_ptr_array_free(revpath, TRUE);
+             }
+         }
+     }




More information about the Pkg-xfce-commits mailing list