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@svn.gnome.org>
// Copyright (C) 2008 Iñigo Martínez <inigomartinez@gmail.com>
// Copyright (C) 2008 Brad Hards <bradh@kde.org>
+// Copyright (C) 2008 Ilya Gorenbein <igorenbein@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 @@
delete attrs;
annots.free();
contents.free();
+ trans.free();
+ thumb.free();
+ actions.free();
}
Annots *Page::getAnnots(Catalog *catalog) {