Fix memory corruption.

This commit is contained in:
Robin Davies
2023-07-03 07:22:09 -04:00
parent 15ae8ec049
commit a3a513555b
+1 -1
View File
@@ -237,7 +237,7 @@ char *FileBrowserFilesFeature::MapPath(const char *path,const char*resourcePathB
} catch (const std::exception&e)
{
LogError(e.what());
return "";
return strdup("");
}
}