utils/HtmlOutputDev.cc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 77bf8ec94e36fef7e120f1dc4bb1390be71cfb97
Author: Tomas Are Haavet <[EMAIL PROTECTED]>
Date:   Sat Sep 20 14:17:06 2008 +0200

    Fix memory leak

diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 7b7d1ee..86bc2ef 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -1095,6 +1095,7 @@ void HtmlOutputDev::endPage() {
   {
       processLink(linksList->getLink(i));
   }
+  delete linksList;
 
   pages->conv();
   pages->coalesce();
commit b22be54dc2205269974315ca748d835d0990d6da
Author: Tomas Are Haavet <[EMAIL PROTECTED]>
Date:   Sat Sep 20 14:16:26 2008 +0200

    Fix mismatched free/delete

diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 54f62e7..7b7d1ee 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -21,6 +21,7 @@
 // Copyright (C) 2008 Kjartan Maraas <[EMAIL PROTECTED]>
 // Copyright (C) 2008 Boris Toloknov <[EMAIL PROTECTED]>
 // Copyright (C) 2008 Haruyuki Kawabe <[EMAIL PROTECTED]>
+// Copyright (C) 2008 Tomas Are Haavet <[EMAIL PROTECTED]>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -142,7 +143,7 @@ HtmlString::HtmlString(GfxState *state, double fontSize, 
HtmlFontAccu* fonts) {
 
 
 HtmlString::~HtmlString() {
-  delete text;
+  gfree(text);
   delete htext;
   gfree(xRight);
 }
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to