Fix possible leaks in stdext::format

This commit is contained in:
Eduardo Bart
2013-02-05 20:00:28 -02:00
parent dcd6249e8f
commit cf77df05ca
6 changed files with 9 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ bool ResourceManager::discoverWorkDir(const std::string& existentFile)
continue;
if(PHYSFS_exists(existentFile.c_str())) {
g_logger.debug(stdext::format("Found work dir at '%s'", dir.c_str()));
g_logger.debug(stdext::format("Found work dir at '%s'", dir));
m_workDir = dir;
found = true;
break;