diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-02-04 18:02:29 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-02-04 18:02:29 +0100 |
commit | f862ff750b48039d28741fefcbd8719185333c49 (patch) | |
tree | 1a5da48844d17753cb84319690523dc32cb8f5d1 | |
parent | a36c737490d981cfad90164fb4e58902774d4414 (diff) | |
download | ffmpeg-f862ff750b48039d28741fefcbd8719185333c49.tar.gz |
avfilter/vf_stack: free input pads name on uninit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/vf_stack.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vf_stack.c b/libavfilter/vf_stack.c index b6243ebdb8..03643b6f96 100644 --- a/libavfilter/vf_stack.c +++ b/libavfilter/vf_stack.c @@ -215,8 +215,13 @@ static int request_frame(AVFilterLink *outlink) static av_cold void uninit(AVFilterContext *ctx) { StackContext *s = ctx->priv; + int i; + ff_framesync_uninit(&s->fs); av_freep(&s->frames); + + for (i = 0; i < ctx->nb_inputs; i++) + av_freep(&ctx->input_pads[i].name); } #define OFFSET(x) offsetof(StackContext, x) |