mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 20:26:23 +01:00
Fix possible leaks in stdext::format
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user