[poppler] poppler/poppler: Page.cc,1.13,1.14
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Dec 22 15:39:43 PST 2006
Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv30753/poppler
Modified Files:
Page.cc
Log Message:
poppler/Page.cc: Fix memory leak when reading a wrong color map in a thumbnail. Patch by Scott Turner <scotty1024 at mac.com>
Index: Page.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Page.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Page.cc 8 Oct 2006 20:38:47 -0000 1.13
+++ Page.cc 22 Dec 2006 23:39:41 -0000 1.14
@@ -492,6 +492,7 @@
obj1.free();
if (!colorMap->isOk()) {
fprintf (stderr, "Error: invalid colormap\n");
+ delete colorMap;
goto fail1;
}
More information about the poppler
mailing list