1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-25 05:35:25 +02:00

Fix memory leak detected by address sanitizer (#10896)

This commit is contained in:
k.h.lai
2021-02-03 03:56:24 +08:00
committed by GitHub
parent f227e40180
commit 2072afb72b
4 changed files with 7 additions and 3 deletions

View File

@@ -375,6 +375,7 @@ namespace gui
gui::IGUIEnvironment* Environment;
video::IVideoDriver* Driver;
io::path filename;
SGUITTFace* sguitt_face = nullptr;
FT_Face tt_face;
FT_Size_Metrics font_metrics;
FT_Int32 load_flags;