[Poppler-bugs] [Bug 17675] New: Memory leak in HtmlOutputDev::endPage()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Sep 20 05:00:22 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=17675
Summary: Memory leak in HtmlOutputDev::endPage()
Product: poppler
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: tomasare at gmail.com
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();
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list