From: vsr Date: Tue, 23 Sep 2014 13:18:48 +0000 (+0400) Subject: xmlCleanupParser should not be called from the application X-Git-Tag: V7_5_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f6c23ad0691f28c82559688bda1f56856429794f;p=modules%2Fgeom.git xmlCleanupParser should not be called from the application --- diff --git a/src/GEOMUtils/GEOMUtils_XmlHandler.cxx b/src/GEOMUtils/GEOMUtils_XmlHandler.cxx index b3de3f351..a05371b1c 100644 --- a/src/GEOMUtils/GEOMUtils_XmlHandler.cxx +++ b/src/GEOMUtils/GEOMUtils_XmlHandler.cxx @@ -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 diff --git a/src/XAO/XAO_XaoExporter.cxx b/src/XAO/XAO_XaoExporter.cxx index 9bd59eafb..f8229318a 100644 --- a/src/XAO/XAO_XaoExporter.cxx +++ b/src/XAO/XAO_XaoExporter.cxx @@ -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)