2008-09-06 Matthias Clasen <mclasen@redhat.com>
Bug 551149 – xdgmime mem leak
* xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
a memory leak. Patch by Christian Persch
svn path=/trunk/; revision=7441
+2008-09-06 Matthias Clasen <mclasen@redhat.com>
+
+ Bug 551149 – xdgmime mem leak
+
+ * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
+ a memory leak. Patch by Christian Persch
+
2008-09-04 Tor Lillqvist <tml@novell.com>
* gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
for (list = dir_time_list; list; list = list->next)
{
- if (strcmp (list->directory_name, file_name) == 0)
- return;
+ if (strcmp (list->directory_name, file_name) == 0)
+ {
+ free (file_name);
+ return;
+ }
}
list = calloc (1, sizeof (XdgDirTimeList));