commit | 75ad0379fe85330394dd5f77df19f0dfa4fd41b9 | [log] [tgz] |
---|---|---|
author | Pino Toscano <pino@kde.org> | Fri Jul 18 23:32:25 2008 +0200 |
committer | Pino Toscano <pino@draco.(none)> | Fri Jul 18 23:41:56 2008 +0200 |
tree | 5898e99ed5e2d85da2354a4c88f18c8019e81f3d | |
parent | fe7a71a6fd87a0ead3952d23500adbb918be823d [diff] |
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;