... | ... |
@@ -416,6 +416,10 @@ static int query_formats(AVFilterContext *ctx) |
416 | 416 |
|
417 | 417 |
static int glyph_enu_free(void *opaque, void *elem) |
418 | 418 |
{ |
419 |
+ Glyph *glyph = elem; |
|
420 |
+ |
|
421 |
+ FT_Done_Glyph(*glyph->glyph); |
|
422 |
+ av_freep(&glyph->glyph); |
|
419 | 423 |
av_free(elem); |
420 | 424 |
return 0; |
421 | 425 |
} |