poppler/Page.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 75ad0379fe85330394dd5f77df19f0dfa4fd41b9
Author: Pino Toscano <[EMAIL PROTECTED]>
Date:   Fri Jul 18 23:32:25 2008 +0200

    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 @@ Page::Page(XRef *xrefA, int numA, Dict *pageDict, PageAttrs 
*attrsA, Form *form)
   xref = xrefA;
   num = numA;
   duration = -1;
+  pageWidgets = NULL;
 
   // get attributes
   attrs = attrsA;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to