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

New commits:
commit b449634d32fb48dfa822a9dfd07aca7ebd0bf7b5
Author: Albert Astals Cid <[EMAIL PROTECTED]>
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;
   }
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to