diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-03-03 12:20:30 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-03-03 12:33:54 +0100 |
commit | f8210f892ec5cb3eeb0e267a18ae8531141104b5 (patch) | |
tree | 1865fa6761413dfbdae0bb37fb9d11df0a3fe0e1 /libavfilter/vf_fade.c | |
parent | c266eb1928ad27b27ac122a7e3bda9676642aac5 (diff) | |
download | ffmpeg-f8210f892ec5cb3eeb0e267a18ae8531141104b5.tar.gz |
vf_fade: free type when overwriting it.
Diffstat (limited to 'libavfilter/vf_fade.c')
-rw-r--r-- | libavfilter/vf_fade.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 7fe0dae3f4..79c8994d00 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -94,6 +94,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) } if (expr = av_strtok(args1, ":", &bufptr)) { + av_free(fade->type); if (!(fade->type = av_strdup(expr))) { ret = AVERROR(ENOMEM); goto end; |