forked from enlightenment/efl
Evas font-engine: Fixed a puny memory leak.
SVN revision: 56503
This commit is contained in:
parent
f49c3bb8ad
commit
a2fc127e8c
|
@ -45,6 +45,12 @@ _evas_common_font_source_free(RGBA_Font_Source *fs)
|
||||||
FTLOCK();
|
FTLOCK();
|
||||||
FT_Done_Face(fs->ft.face);
|
FT_Done_Face(fs->ft.face);
|
||||||
FTUNLOCK();
|
FTUNLOCK();
|
||||||
|
#ifdef OT_SUPPORT
|
||||||
|
if (evas_common_font_ot_is_enabled())
|
||||||
|
{
|
||||||
|
evas_common_font_ot_unload_face(fs);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
if (fs->name) eina_stringshare_del(fs->name);
|
if (fs->name) eina_stringshare_del(fs->name);
|
||||||
free(fs);
|
free(fs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue