[poppler] Branch 'poppler-0.8' - poppler/Annot.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Jul 25 14:15:27 PDT 2008


 poppler/Annot.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6d080c5771d2794cf82a3c7ebf401abbec89fd70
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri Jul 25 23:15:11 2008 +0200

    Fix memory leak

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 0a39897..1c08548 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -2968,6 +2968,7 @@ void AnnotWidget::generateFieldAppearance() {
     apObj.dictSet("N", &oaRef);
     annot->set("AP", &apObj);
     Dict* d = new Dict(annot);
+    d->decRef();
     Object dictObj;
     dictObj.initDict(d);
 


More information about the poppler mailing list