mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
some memory leak cleanup
This commit is contained in:
@@ -400,10 +400,6 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map<string,string> &map
|
|||||||
|
|
||||||
rootNode= new XmlNode(doc->first_node(),mapTagReplacementValues);
|
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(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__)
|
#if defined(WIN32) && !defined(__MINGW32__)
|
||||||
|
Reference in New Issue
Block a user