summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbland <bland@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-13 22:22:35 +0800
committerbland <bland@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-13 22:22:35 +0800
commit7613dc9f9616798874ff1aad2f4ed9aacf626a81 (patch)
tree910ec659bdc9ca30f67d88130347051bc59f5249
parent404d72b78d151fa78078e9892f1ddd1182865511 (diff)
downloadmarcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar.gz
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar.bz2
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar.lz
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar.xz
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.tar.zst
marcuscom-ports-7613dc9f9616798874ff1aad2f4ed9aacf626a81.zip
Fix use after free()
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4835 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-toolkits/gtk20/Makefile4
-rw-r--r--x11-toolkits/gtk20/files/patch-gtk__updateiconcache.c13
2 files changed, 15 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 163413090..7419c4095 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -3,12 +3,12 @@
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $FreeBSD$
-# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.72 2005/09/03 03:06:00 ahze Exp $
+# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.73 2005/09/10 14:40:01 jylefort Exp $
#
PORTNAME= gtk
PORTVERSION= 2.8.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.8,} \
ftp://ftp.gtk.org/pub/gtk/v2.8/ \
diff --git a/x11-toolkits/gtk20/files/patch-gtk__updateiconcache.c b/x11-toolkits/gtk20/files/patch-gtk__updateiconcache.c
new file mode 100644
index 000000000..d8773a4e1
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gtk__updateiconcache.c
@@ -0,0 +1,13 @@
+--- gtk/updateiconcache.c Tue Sep 13 22:59:51 2005
++++ gtk/updateiconcache.c.orig Tue Sep 13 22:58:33 2005
+@@ -144,9 +144,9 @@
+ if (image->flags == HAS_ICON_FILE)
+ {
+ g_free (key);
++ g_free (image);
+ g_free (image->attach_points);
+ g_strfreev (image->display_names);
+- g_free (image);
+
+ return TRUE;
+ }