]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
xmlCleanupParser should not be called from the application
authorvsr <vsr@opencascade.com>
Tue, 23 Sep 2014 13:18:48 +0000 (17:18 +0400)
committervsr <vsr@opencascade.com>
Tue, 23 Sep 2014 13:18:48 +0000 (17:18 +0400)
src/GEOMUtils/GEOMUtils_XmlHandler.cxx
src/XAO/XAO_XaoExporter.cxx

index b3de3f351304ba68ab241bb99d705c41a5f7144e..a05371b1ce41df8df7a065b0b806c2e3ee090b8c 100644 (file)
@@ -230,7 +230,7 @@ namespace GEOMUtils
        } // end root node
        
        xmlFreeDoc(doc);
-       xmlCleanupParser();
+       //xmlCleanupParser();//vsr: xmlCleanupParser should not be called from the application
       } // end xml doc
     }
 #ifdef MYDEBUG
index 9bd59eafb131992297f1eecb34c6693271e7d0ed..f8229318a4a60b41a05d532f6eb893048a0597fe 100644 (file)
@@ -310,7 +310,7 @@ namespace {
     parseXaoNode(doc, root, xaoObject);
 
     xmlFreeDoc(doc);       // free document
-    xmlCleanupParser();    // free globals
+    //xmlCleanupParser();    // free globals //vsr: xmlCleanupParser should not be called from the application
   }
 
   void parseXaoNode(xmlDocPtr doc, xmlNodePtr xaoNode, Xao* xaoObject)