From 93bc69d98c051a0dbc710b124a3dae8743bac7b2 Mon Sep 17 00:00:00 2001 From: recht Date: Fri, 21 Jan 2005 20:32:23 +0000 Subject: Pull in a fix from gnome-vfs CVS: * libgnomevfs/gnome-vfs-mime-info-cache.c: (gnome_vfs_mime_get_all_desktop_entries): Fix a memory leak, patch from Josselin Mouette (Closes: #159823). http://bugzilla.gnome.org/show_bug.cgi?id=159823 bump PKGREVISION to 3 --- sysutils/gnome-vfs2/Makefile | 4 ++-- sysutils/gnome-vfs2/distinfo | 3 ++- sysutils/gnome-vfs2/patches/patch-aw | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 sysutils/gnome-vfs2/patches/patch-aw (limited to 'sysutils') diff --git a/sysutils/gnome-vfs2/Makefile b/sysutils/gnome-vfs2/Makefile index e843f42dd94..b560cf80c2e 100644 --- a/sysutils/gnome-vfs2/Makefile +++ b/sysutils/gnome-vfs2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.44 2005/01/20 21:32:11 recht Exp $ +# $NetBSD: Makefile,v 1.45 2005/01/21 20:32:23 recht Exp $ # -PKGREVISION= 2 +PKGREVISION= 3 PKGCONFIG_OVERRIDE= gnome-vfs-2.0.pc.in PKGCONFIG_OVERRIDE+= gnome-vfs-module-2.0.pc.in diff --git a/sysutils/gnome-vfs2/distinfo b/sysutils/gnome-vfs2/distinfo index 4361e2c2c60..0e8f1ec23c4 100644 --- a/sysutils/gnome-vfs2/distinfo +++ b/sysutils/gnome-vfs2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.30 2005/01/20 21:32:11 recht Exp $ +$NetBSD: distinfo,v 1.31 2005/01/21 20:32:23 recht Exp $ SHA1 (gnome-vfs-2.8.3.tar.bz2) = 263dc88bfb18ac5bb917124bbc8278b3f5352688 Size (gnome-vfs-2.8.3.tar.bz2) = 1907154 bytes @@ -19,3 +19,4 @@ SHA1 (patch-as) = 1ac0cc66541c1e7ce62d205a05cc6cb446cec39d SHA1 (patch-at) = b75ad2f2accb0ca8986f8c4e2771028fceca41b4 SHA1 (patch-au) = 12cbe2cc02b436f8f1c4afed5be34bddc23e7e8f SHA1 (patch-av) = 689114a36fa78dc2216a763eee597e5c61d269a5 +SHA1 (patch-aw) = 80c551981b3a37b202ed8d5876ffb472cd08e679 diff --git a/sysutils/gnome-vfs2/patches/patch-aw b/sysutils/gnome-vfs2/patches/patch-aw new file mode 100644 index 00000000000..385e0cbcccf --- /dev/null +++ b/sysutils/gnome-vfs2/patches/patch-aw @@ -0,0 +1,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; -- cgit v1.2.3