From de822554acdb1b2bc9e70c0668c43a10c0ec129a Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 1 Sep 2008 23:50:37 +0200 Subject: Initialize widget to null before calling initialize not after :-( --- poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poppler/Annot.cc b/poppler/Annot.cc index 7775f47b..e4c394aa 100644 --- a/poppler/Annot.cc +++ b/poppler/Annot.cc @@ -1806,8 +1806,8 @@ AnnotTextMarkup::~AnnotTextMarkup() { AnnotWidget::AnnotWidget(XRef *xrefA, Dict *dict, Catalog *catalog, Object *obj) : Annot(xrefA, dict, catalog, obj) { type = typeWidget; - initialize(xrefA, catalog, dict); widget = NULL; + initialize(xrefA, catalog, dict); } AnnotWidget::~AnnotWidget() { -- cgit v1.2.3