poppler/Annot.cc | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit dbcebda953cb36a45a125aada68e85249fb73f43
Author: Albert Astals Cid <[email protected]>
Date: Mon Dec 15 20:10:31 2008 +0100
Do not leak on AnnotScreen destructor
Fixes bug 19095
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 45d063d..2510763 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -22,6 +22,7 @@
// Copyright (C) 2008 Pino Toscano <[email protected]>
// Copyright (C) 2008 Michael Vrable <[email protected]>
// Copyright (C) 2008 Hugo Mercier <[email protected]>
+// Copyright (C) 2009 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
@@ -3388,6 +3389,9 @@ AnnotScreen::~AnnotScreen() {
delete title;
if (appearCharacs)
delete appearCharacs;
+
+ action.free();
+ additionAction.free();
}
void AnnotScreen::initialize(XRef *xrefA, Catalog *catalog, Dict* dict) {
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler