diff --git a/uppsrc/Draw/FontFc.cpp b/uppsrc/Draw/FontFc.cpp index 3b85df470..4a1b983f7 100644 --- a/uppsrc/Draw/FontFc.cpp +++ b/uppsrc/Draw/FontFc.cpp @@ -21,6 +21,12 @@ void GetStdFontSys(String& name, int& height) static FT_Library sFTlib; +EXITBLOCK +{ + if(sFTlib) + FT_Done_FreeType(sFTlib); +} + bool sInitFt(void) { if(sFTlib)