Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv18200/poppler

Modified Files:
      Tag: xpdf302merge
        Dict.cc 
Log Message:
Make dict::set() make a copy of the string if it is going to be add()ed.


Index: Dict.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/Dict.cc,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -u -d -r1.6.2.1 -r1.6.2.2
--- Dict.cc     6 Apr 2007 14:22:23 -0000       1.6.2.1
+++ Dict.cc     20 Apr 2007 21:14:45 -0000      1.6.2.2
@@ -91,7 +91,7 @@
     e->val.free();
     e->val = *val;
   } else {
-    add (key, val);
+    add (copyString(key), val);
   }
 }
 

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to