Draw: FontFc now does FT_Done_FreeType in EXITBLOCK

git-svn-id: svn://ultimatepp.org/upp/trunk@6102 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-05-26 15:15:38 +00:00
parent 2fdc779863
commit adf06a4698

View file

@ -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)