Commit 79bfcece authored by Erwan Tulou's avatar Erwan Tulou

Revert "freetype: fix crash (wrong memory deallocation)"

This reverts commit 2224fa03.

FT_Done_Glyph seems needed for shadow. More investigation needed to
work out why libfreetype crashes at this FT_Done_Glyph.
parent 2224fa03
......@@ -1776,6 +1776,8 @@ static int GetGlyph( filter_t *p_filter,
FT_Done_Glyph( glyph );
if( outline )
FT_Done_Glyph( outline );
if( shadow )
FT_Done_Glyph( shadow );
return VLC_EGENERIC;
}
FT_Glyph_Get_CBox( glyph, ft_glyph_bbox_pixels, p_glyph_bbox );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment