[gs-bugs] [Bug 690403] New: memleak in loadoutline
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Sun Apr 12 17:14:57 PDT 2009
http://bugs.ghostscript.com/show_bug.cgi?id=690403
Summary: memleak in loadoutline
Product: MuPDF
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P4
Component: mupdf
AssignedTo: tor.andersson at artifex.com
ReportedBy: kkowalczyk at gmail.com
QAContact: gs-bugs at ghostscript.com
>From reading the code, it seems like we should drop "Title" object:
$ darcs diff -u
diff -rN -u old-mupdf-official/mupdf/pdf_outline.c
new-mupdf-official/mupdf/pdf_outline.c
--- old-mupdf-official/mupdf/pdf_outline.c 2009-04-12 17:14:11.281250000 -0700
+++ new-mupdf-official/mupdf/pdf_outline.c 2009-04-12 17:14:11.734375000 -0700
@@ -23,6 +23,7 @@
if (error)
return fz_rethrow(error, "cannot resolve /Title");
error = pdf_toutf8(&node->title, obj);
+ fz_dropobj(obj);
if (error)
return fz_rethrow(error, "cannot convert Title to UTF-8");
pdf_logpage("title %s\n", node->title);
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list