From b7267c9176959318933f98636c67a76554c12302 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 13 Nov 2013 21:26:08 +0000 Subject: [PATCH] some memory leak cleanup --- source/shared_lib/sources/xml/xml_parser.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/shared_lib/sources/xml/xml_parser.cpp b/source/shared_lib/sources/xml/xml_parser.cpp index 1b1a582ac..6ebe3dc0b 100644 --- a/source/shared_lib/sources/xml/xml_parser.cpp +++ b/source/shared_lib/sources/xml/xml_parser.cpp @@ -400,10 +400,6 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map &map rootNode= new XmlNode(doc->first_node(),mapTagReplacementValues); - //doc->clear(); - cleanup(); - init(); - if(showPerfStats) printf("In [%s::%s Line: %d] took msecs: " MG_I64_SPECIFIER "\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__,chrono.getMillis()); #if defined(WIN32) && !defined(__MINGW32__)