initialize pageWidgets, otherwise it can be a rubbish pointer is Annots
is not a valid object
diff --git a/poppler/Page.cc b/poppler/Page.cc
index c76569c..387d7f7 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -235,6 +235,7 @@
   xref = xrefA;
   num = numA;
   duration = -1;
+  pageWidgets = NULL;
 
   // get attributes
   attrs = attrsA;