From 75ad0379fe85330394dd5f77df19f0dfa4fd41b9 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 18 Jul 2008 23:32:25 +0200 Subject: initialize pageWidgets, otherwise it can be a rubbish pointer is Annots is not a valid object --- poppler/Page.cc | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3