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

New commits:
commit fd0bf8b05cb155e2f29df31fa01964b12e710b89
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 fa2d86d..c25f97b 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