xmlCleanupParser should not be called from the application

This commit is contained in:
vsr 2014-09-23 17:18:48 +04:00
parent 76d199bd79
commit f6c23ad069
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ namespace GEOMUtils
} // end root node } // end root node
xmlFreeDoc(doc); xmlFreeDoc(doc);
xmlCleanupParser(); //xmlCleanupParser();//vsr: xmlCleanupParser should not be called from the application
} // end xml doc } // end xml doc
} }
#ifdef MYDEBUG #ifdef MYDEBUG

View File

@ -310,7 +310,7 @@ namespace {
parseXaoNode(doc, root, xaoObject); parseXaoNode(doc, root, xaoObject);
xmlFreeDoc(doc); // free document 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) void parseXaoNode(xmlDocPtr doc, xmlNodePtr xaoNode, Xao* xaoObject)