summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs2/patches/patch-aw
blob: 385e0cbcccf420df62cb8ce4b183be4db2b44768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aw,v 1.1 2005/01/21 20:32:23 recht Exp $

http://bugzilla.gnome.org/show_bug.cgi?id=159823

--- libgnomevfs/gnome-vfs-mime-info-cache.c.orig	Tue Oct 26 15:37:05 2004
+++ libgnomevfs/gnome-vfs-mime-info-cache.c	Fri Jan 21 20:06:07 2005
@@ -769,6 +769,9 @@
 
 	G_UNLOCK (mime_info_cache);
 
+	g_list_foreach (mime_types, (GFunc)g_free, NULL);
+	g_list_free (mime_types);
+
 	desktop_entries = g_list_reverse (desktop_entries);
 
 	return desktop_entries;