提交 f862ff75 编写于 作者: P Paul B Mahol

avfilter/vf_stack: free input pads name on uninit

Signed-off-by: NPaul B Mahol <onemda@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册