[poppler] poppler/Annot.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon Dec 15 11:11:41 PST 2008
poppler/Annot.cc | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit dbcebda953cb36a45a125aada68e85249fb73f43
Author: Albert Astals Cid <aacid at kde.org>
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 <pino at kde.org>
// Copyright (C) 2008 Michael Vrable <mvrable at cs.ucsd.edu>
// Copyright (C) 2008 Hugo Mercier <hmercier31 at gmail.com>
+// Copyright (C) 2009 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
@@ -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) {
More information about the poppler
mailing list