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 <[EMAIL PROTECTED]>


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;
   }
 

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to