Commit f862ff75 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_stack: free input pads name on uninit

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a36c7374
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment