1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00

Merge branch 'fix-mem-leak-1' into 'master'

Fix memory leak in FontLoader::loadFontFromXml

See merge request OpenMW/openmw!559
This commit is contained in:
Andrei Kortunov 2021-01-23 06:30:59 +00:00
commit cf9ac9c6c9

View File

@ -630,6 +630,7 @@ namespace Gui
} }
MyGUI::ResourceManager::getInstance().loadFromXmlNode(copy, _file, _version); MyGUI::ResourceManager::getInstance().loadFromXmlNode(copy, _file, _version);
delete copy;
} }
} }