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

Fix memory leak in FontLoader::loadFontFromXml

Tried building with -DCMAKE_CXX_FLAGS='-fsanitize=address -fsanitize-recover=address'
and this was one of the reported leaks.
This commit is contained in:
Gleb Mazovetskiy 2021-01-23 04:08:39 +00:00
parent 7b095e8701
commit bd7d5a8f92

View File

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