mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/vf_stack: free input pads name on uninit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
a36c737490
commit
f862ff750b
@ -215,8 +215,13 @@ static int request_frame(AVFilterLink *outlink)
|
|||||||
static av_cold void uninit(AVFilterContext *ctx)
|
static av_cold void uninit(AVFilterContext *ctx)
|
||||||
{
|
{
|
||||||
StackContext *s = ctx->priv;
|
StackContext *s = ctx->priv;
|
||||||
|
int i;
|
||||||
|
|
||||||
ff_framesync_uninit(&s->fs);
|
ff_framesync_uninit(&s->fs);
|
||||||
av_freep(&s->frames);
|
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)
|
#define OFFSET(x) offsetof(StackContext, x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user