diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-09-01 23:50:37 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-09-01 23:50:37 +0200 |
commit | de822554acdb1b2bc9e70c0668c43a10c0ec129a (patch) | |
tree | a3f5a52845f495ccfaecb813fc83bdb1cc2dda0a | |
parent | 1a7b7199112d97e816a099cbc1a5672c83e64156 (diff) |
Initialize widget to null before calling initialize not after :-(
-rw-r--r-- | poppler/Annot.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |