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:37:35 +0200 |
commit | fd0bf8b05cb155e2f29df31fa01964b12e710b89 (patch) | |
tree | 9178da7182ee592f071c6a10d171cc1c0bce790f | |
parent | 1f266d2e8183c703be391ee8393c56a3e5654b27 (diff) |
initialize pageWidgets, otherwise it can be a rubbish pointer is Annots
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 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; |