summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2008-07-18 23:32:25 +0200
committerPino Toscano <pino@kde.org>2008-07-18 23:32:25 +0200
commit3696025977fd345b12767f75a2de6ed7e9467365 (patch)
treea7f10acfc1b568771a4e001ec2b56d7ab4490e4a
parent0189ff8b86de18486f7397076f7a0fbf133a1a33 (diff)
initialize pageWidgets, otherwise it can be a rubbish pointer is Annots
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 fa2d86d7..c25f97bf 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;