diff options
author | wiz <wiz@pkgsrc.org> | 2003-12-15 13:45:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-12-15 13:45:07 +0000 |
commit | 42dcc0d55e95be7de843769ec7a33c05bc572449 (patch) | |
tree | 97a5cfe94ec7b390f8bc813e53578875245ef296 /print/dvipng/patches | |
parent | 8e8ab63d4f8081a147b50de3d79370b2d12c7a14 (diff) | |
download | pkgsrc-42dcc0d55e95be7de843769ec7a33c05bc572449.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')
-rw-r--r-- | print/dvipng/patches/patch-ab | 12 | ||||
-rw-r--r-- | print/dvipng/patches/patch-ac | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/print/dvipng/patches/patch-ab b/print/dvipng/patches/patch-ab new file mode 100644 index 00000000000..df4b6f34dd3 --- /dev/null +++ b/print/dvipng/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1 2003/12/15 13:45:07 wiz Exp $ + +--- font.c.orig Sun Nov 30 12:56:55 2003 ++++ font.c +@@ -294,7 +294,6 @@ void ClearFonts(void) + while(hfontptr!=NULL) { + tmp=hfontptr->next; + DoneFont(hfontptr); +- free(hfontptr); + hfontptr=tmp; + } + FreeFontNumP(dvi->fontnump); 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); + } + |