mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 17:06:43 +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:
parent
7b095e8701
commit
bd7d5a8f92
1 changed files with 1 additions and 0 deletions
|
@ -630,6 +630,7 @@ namespace Gui
|
||||||
}
|
}
|
||||||
|
|
||||||
MyGUI::ResourceManager::getInstance().loadFromXmlNode(copy, _file, _version);
|
MyGUI::ResourceManager::getInstance().loadFromXmlNode(copy, _file, _version);
|
||||||
|
delete copy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue