poppler/Page.cc | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 5cf4be3718f241054eae2ef29f9678ca571acfbe
Author: Ilya Gorenbein <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
// Copyright (C) 2008 Iñigo MartÃnez <[EMAIL PROTECTED]>
// Copyright (C) 2008 Brad Hards <[EMAIL PROTECTED]>
+// Copyright (C) 2008 Ilya Gorenbein <[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
@@ -335,6 +336,9 @@ Page::~Page() {
delete attrs;
annots.free();
contents.free();
+ trans.free();
+ thumb.free();
+ actions.free();
}
Annots *Page::getAnnots(Catalog *catalog) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler