summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2008-07-18 23:32:25 +0200
committerPino Toscano <pino@draco.(none)>2008-07-18 23:41:56 +0200
commit75ad0379fe85330394dd5f77df19f0dfa4fd41b9 (patch)
tree5898e99ed5e2d85da2354a4c88f18c8019e81f3d
parentfe7a71a6fd87a0ead3952d23500adbb918be823d (diff)
initialize pageWidgets, otherwise it can be a rubbish pointer is Annotspoppler-0.6
is not a valid object
-rw-r--r--poppler/Page.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/Page.cc b/poppler/Page.cc
index c76569cb..387d7f78 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -235,6 +235,7 @@ Page::Page(XRef *xrefA, int numA, Dict *pageDict, PageAttrs *attrsA, Form *form)
xref = xrefA;
num = numA;
duration = -1;
+ pageWidgets = NULL;
// get attributes
attrs = attrsA;