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

Pino Toscano pino at kemper.freedesktop.org
Fri Jul 18 14:38:04 PDT 2008


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

New commits:
commit fd0bf8b05cb155e2f29df31fa01964b12e710b89
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 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;


More information about the poppler mailing list