[poppler] Branch 'poppler-0.10' - poppler/Page.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Dec 7 09:00:09 PST 2008


 poppler/Page.cc |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 5cf4be3718f241054eae2ef29f9678ca571acfbe
Author: Ilya Gorenbein <igorenbein at finjan.com>
Date:   Sun Dec 7 17:59:19 2008 +0100

    Fix memory leak
    
    Bug 18924

diff --git a/poppler/Page.cc b/poppler/Page.cc
index 8fe7ca6..1cc2cfb 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -23,6 +23,7 @@
 // Copyright (C) 2007 Julien Rebetez <julienr at svn.gnome.org>
 // Copyright (C) 2008 Iñigo Martínez <inigomartinez at gmail.com>
 // Copyright (C) 2008 Brad Hards <bradh at kde.org>
+// Copyright (C) 2008 Ilya Gorenbein <igorenbein at finjan.com>
 //
 // 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
@@ -335,6 +336,9 @@ Page::~Page() {
   delete attrs;
   annots.free();
   contents.free();
+  trans.free();
+  thumb.free();
+  actions.free();
 }
 
 Annots *Page::getAnnots(Catalog *catalog) {


More information about the poppler mailing list