summaryrefslogtreecommitdiff
path: root/print/dvipng/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-12-15 13:45:07 +0000
committerwiz <wiz@pkgsrc.org>2003-12-15 13:45:07 +0000
commit448750598e1dac0433445f9b2717a7af72a4fc42 (patch)
tree97a5cfe94ec7b390f8bc813e53578875245ef296 /print/dvipng/patches/patch-ac
parentce0b7dd47d7ce7e7232ed0b497ae1a7afebca91d (diff)
downloadpkgsrc-448750598e1dac0433445f9b2717a7af72a4fc42.tar.gz
Add two patches that avoid double free()s of the same space.
Bump PKGREVISION to 1. (patches have been sent to author)
Diffstat (limited to 'print/dvipng/patches/patch-ac')
-rw-r--r--print/dvipng/patches/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/print/dvipng/patches/patch-ac b/print/dvipng/patches/patch-ac
new file mode 100644
index 00000000000..45c9fa5d64c
--- /dev/null
+++ b/print/dvipng/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2003/12/15 13:45:07 wiz Exp $
+
+--- tfm.c.orig Sun Nov 30 12:56:55 2003
++++ tfm.c
+@@ -58,7 +58,6 @@ bool ReadTFM(struct font_entry * tfontp,
+ c++;
+ position += 4;
+ }
+- free(width);
+ return(true);
+ }
+