[poppler] poppler/Annot.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Aug 11 16:24:11 PDT 2008


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

New commits:
commit a6ecc864ea3e94d7232cff6a2e8f49919d8f24ff
Author: Albert Astals Cid <tsdgeos at samsung.localdomain>
Date:   Tue Aug 12 01:23:21 2008 +0200

    initialize widget, fixes crash on EC2006.pdf

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index f14ce50..c73fc9e 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1785,6 +1785,7 @@ AnnotWidget::AnnotWidget(XRef *xrefA, Dict *dict, Catalog *catalog, Object *obj)
     Annot(xrefA, dict, catalog, obj) {
   type = typeWidget;
   initialize(xrefA, catalog, dict);
+  widget = NULL;
 }
 
 AnnotWidget::~AnnotWidget() {


More information about the poppler mailing list