Bug 17675 - Memory leak in HtmlOutputDev::endPage()
Summary: Memory leak in HtmlOutputDev::endPage()
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-20 05:00 UTC by Tomas Are Haavet
Modified: 2008-09-20 05:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Tomas Are Haavet 2008-09-20 05:00:22 UTC
The linksList need to be freed after usage.

diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 54f62e7..3da47ba 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -1094,6 +1094,7 @@ void HtmlOutputDev::endPage() {
   {
       processLink(linksList->getLink(i));
   }
+  delete linksList;
 
   pages->conv();
   pages->coalesce();
Comment 1 Albert Astals Cid 2008-09-20 05:17:34 UTC
Thanks for the patch.

Will be fixed in poppler 0.9.2


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.