mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Add missing fclose
This commit is contained in:
@@ -58,6 +58,7 @@ void LoadGameObjectModelList(std::string const& dataPath)
|
||||
|| memcmp(magic, VMAP::VMAP_MAGIC, 8) != 0)
|
||||
{
|
||||
TC_LOG_ERROR("misc", "File '%s' has wrong header, expected %s.", VMAP::GAMEOBJECT_MODELS, VMAP::VMAP_MAGIC);
|
||||
fclose(model_list_file);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user