poppler/Annot.cc |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 45a82d46434d88581390a3d9091efd3464d9c400
Author: Pino Toscano <[EMAIL PROTECTED]>
Date:   Mon Jun 2 18:12:56 2008 +0200

    do not delete stateName and modelName, they are owned by their Object's

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 50babca..3e804b9 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1249,7 +1249,6 @@ void AnnotText::initialize(XRef *xrefA, Catalog *catalog, 
Dict *dict) {
         state = stateUnknown;
       }
 
-      delete stateName;
     } else {
       state = stateUnknown;
     }
@@ -1286,7 +1285,6 @@ void AnnotText::initialize(XRef *xrefA, Catalog *catalog, 
Dict *dict) {
       state = stateUnknown;
     }
 
-    delete modelName;
   } else {
     state = stateUnknown;
   }
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to