mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
MADS: Fix memory leak in loadMadsV2Background
This commit is contained in:
parent
b0c032275a
commit
4f330db26a
@ -509,6 +509,8 @@ void SceneInfo::loadMadsV2Background(int sceneId, const Common::String &resName,
|
||||
}
|
||||
tileSet.clear();
|
||||
tileDataFile.close();
|
||||
|
||||
delete[] tileMap;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user