diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 9ccb1bada9..e6d5e8d60e 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -214,6 +214,7 @@ static bitmap_t* glyph_to_bitmap_internal(FT_Glyph glyph, int bord) dst += bm->w; } + FT_Done_Glyph(glyph); return bm; }