[poppler] poppler/poppler: Page.cc,1.12,1.12.2.1
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Dec 22 15:37:55 PST 2006
Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv28248/poppler
Modified Files:
Tag: POPPLER_0_5_X
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.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- Page.cc 16 Mar 2006 22:04:56 -0000 1.12
+++ Page.cc 22 Dec 2006 23:37:53 -0000 1.12.2.1
@@ -484,6 +484,7 @@
obj1.free();
if (!colorMap->isOk()) {
fprintf (stderr, "Error: invalid colormap\n");
+ delete colorMap;
goto fail1;
}
More information about the poppler
mailing list