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

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Jul 24 13:40:29 PDT 2008


 poppler/Annot.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b449634d32fb48dfa822a9dfd07aca7ebd0bf7b5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Jul 24 22:39:40 2008 +0200

    Create our own IRT Dict else we will crash
    
    Fixes bug 16633 and 16762

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 3e804b9..0a39897 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1135,7 +1135,7 @@ void AnnotMarkup::initialize(XRef *xrefA, Dict *dict, Catalog *catalog, Object *
   obj1.free();
 
   if (dict->lookup("IRT", &obj1)->isDict()) {
-    inReplyTo = obj1.getDict();
+    inReplyTo = new Dict(obj1.getDict());
   } else {
     inReplyTo = NULL;
   }


More information about the poppler mailing list