From f6c23ad0691f28c82559688bda1f56856429794f Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 23 Sep 2014 17:18:48 +0400 Subject: [PATCH] xmlCleanupParser should not be called from the application --- src/GEOMUtils/GEOMUtils_XmlHandler.cxx | 2 +- src/XAO/XAO_XaoExporter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2