diff options
author | Pino Toscano <pino@kde.org> | 2008-07-18 23:32:25 +0200 |
---|---|---|
committer | Pino Toscano <pino@draco.(none)> | 2008-07-18 23:41:56 +0200 |
commit | 75ad0379fe85330394dd5f77df19f0dfa4fd41b9 (patch) | |
tree | 5898e99ed5e2d85da2354a4c88f18c8019e81f3d | |
parent | fe7a71a6fd87a0ead3952d23500adbb918be823d (diff) |
initialize pageWidgets, otherwise it can be a rubbish pointer is Annotspoppler-0.6
is not a valid object
-rw-r--r-- | poppler/Page.cc | 1 |
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; |