Author: kelnos
Date: 2008-02-24 01:58:03 +0000 (Sun, 24 Feb 2008)
New Revision: 26635

Modified:
   xfdesktop/branches/xfce_4_4/modules/menu/desktop-menu-dentry.c
Log:
plug memory leak, found by nick manley on irc (bug 3812)


Modified: xfdesktop/branches/xfce_4_4/modules/menu/desktop-menu-dentry.c
===================================================================
--- xfdesktop/branches/xfce_4_4/modules/menu/desktop-menu-dentry.c      
2008-02-23 19:28:14 UTC (rev 26634)
+++ xfdesktop/branches/xfce_4_4/modules/menu/desktop-menu-dentry.c      
2008-02-24 01:58:03 UTC (rev 26635)
@@ -173,6 +173,7 @@
         if(cmpname && g_ascii_strcasecmp(name, cmpname) < 0)
             break;
     }
+    g_list_free(items);
     
     gtk_menu_shell_insert(menu_shell, mi, i);
     

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

Reply via email to