diff options
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r-- | libass/ass_render.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index 7a118e02b1..820dfd9cad 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -1307,12 +1307,12 @@ static void get_bitmap_glyph(glyph_info_t* info) hash_val.bm_s = info->bm_s; cache_add_bitmap(&(info->hash_key), &hash_val); } - // deallocate glyphs - if (info->glyph) - FT_Done_Glyph(info->glyph); - if (info->outline_glyph) - FT_Done_Glyph(info->outline_glyph); } + // deallocate glyphs + if (info->glyph) + FT_Done_Glyph(info->glyph); + if (info->outline_glyph) + FT_Done_Glyph(info->outline_glyph); } /** |