Bug 9418 - Missing delete after reading a bad thumb colormap
Summary: Missing delete after reading a bad thumb colormap
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: high normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 12:38 UTC by Scott Turner
Modified: 2006-12-22 15:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Scott Turner 2006-12-21 12:38:35 UTC
--- poppler-0.5.4/poppler/Page.cc       2006-04-11 18:58:54.000000000 -0700
+++ poppler/poppler/Page.cc     2006-12-21 12:29:49.000000000 -0800
@@ -484,6 +481,7 @@
   obj1.free();
   if (!colorMap->isOk()) {
     fprintf (stderr, "Error: invalid colormap\n");
+    delete colorMap;
     goto fail1;
   }
Comment 1 Albert Astals Cid 2006-12-22 15:38:02 UTC
Fixed, thanks for the patch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.