This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
vf_drawtext: fix memory leak of glyph data.
tags/n0.11
Nicolas George
14 years ago
parent
24ab1abfb6
commit
423047ea31
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libavfilter/vf_drawtext.c
+ 4
- 0
libavfilter/vf_drawtext.c
View File
@@ -416,6 +416,10 @@ static int query_formats(AVFilterContext *ctx)
static int glyph_enu_free(void *opaque, void *elem)
{
Glyph *glyph = elem;
FT_Done_Glyph(*glyph->glyph);
av_freep(&glyph->glyph);
av_free(elem);
return 0;
}
Write
Preview
Loading…
Cancel
Save