[poppler] Branch 'poppler-0.6' - poppler/Page.cc

Pino Toscano pino at kemper.freedesktop.org
Fri Jul 18 14:51:48 PDT 2008


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

New commits:
commit 75ad0379fe85330394dd5f77df19f0dfa4fd41b9
Author: Pino Toscano <pino at kde.org>
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;


More information about the poppler mailing list