avfilter/vf_signature: Fix leak of inpads' names

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-08-25 00:20:01 +02:00
parent 4c5d6e87ac
commit 37838417b8
1 changed files with 2 additions and 0 deletions

View File

@ -730,6 +730,8 @@ static av_cold void uninit(AVFilterContext *ctx)
}
av_freep(&sic->streamcontexts);
}
for (unsigned i = 0; i < ctx->nb_inputs; i++)
av_freep(&ctx->input_pads[i].name);
}
static int config_output(AVFilterLink *outlink)