Index: libxfce4util/xfce_desktop_entry.c =================================================================== RCS file: /cvsroot/xfce/xfce4/libxfce4util/libxfce4util/xfce_desktop_entry.c,v retrieving revision 1.5 diff -u -u -r1.5 xfce_desktop_entry.c --- libxfce4util/xfce_desktop_entry.c 30 Jan 2004 19:19:09 -0000 1.5 +++ libxfce4util/xfce_desktop_entry.c 9 Feb 2004 01:41:56 -0000 @@ -394,7 +394,11 @@ } if (current_section) + { + if (entry->section) + g_free (entry->section); entry->section = g_strdup (current_section); + } break; } @@ -402,8 +406,10 @@ g_free (key); g_free (value); + if (locale) g_free (locale); } + if (current_locale) g_free (current_locale); g_free (current_section); g_strfreev (lines);