[poppler] poppler/Annot.cc

Pino Toscano pino at kemper.freedesktop.org
Wed May 7 07:43:41 PDT 2008


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

New commits:
commit b5041924eb023cc095f2445935ff713cf65dacce
Author: Pino Toscano <pino at kde.org>
Date:   Wed May 7 16:44:03 2008 +0200

    do not delete the GooString owned by an Object

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index c1ea2e0..5bbe487 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -1324,8 +1324,6 @@ void AnnotText::initialize(XRef *xrefA, Catalog *catalog, Dict *dict) {
       } else {
         state = stateUnknown;
       }
-
-      delete stateName;
     } else {
       state = stateUnknown;
     }
@@ -1361,8 +1359,6 @@ void AnnotText::initialize(XRef *xrefA, Catalog *catalog, Dict *dict) {
     } else {
       state = stateUnknown;
     }
-
-    delete modelName;
   } else {
     state = stateUnknown;
   }


More information about the poppler mailing list