Commit 75ad0379 authored by Pino Toscano's avatar Pino Toscano Committed by Pino Toscano

initialize pageWidgets, otherwise it can be a rubbish pointer is Annots

is not a valid object
parent fe7a71a6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment