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

Pino Toscano pino at kemper.freedesktop.org
Mon Jun 2 09:13:00 PDT 2008


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

New commits:
commit 45a82d46434d88581390a3d9091efd3464d9c400
Author: Pino Toscano <pino at kde.org>
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;
   }


More information about the poppler mailing list