mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
avfilter/avf_aphasemeter: fix memleaks
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
38e4bcae09
commit
72d6101510
@ -222,8 +222,11 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
AudioPhaseMeterContext *s = ctx->priv;
|
||||
int i;
|
||||
|
||||
av_frame_free(&s->out);
|
||||
for (i = 0; i < ctx->nb_outputs; i++)
|
||||
av_freep(&ctx->output_pads[i].name);
|
||||
}
|
||||
|
||||
static av_cold int init(AVFilterContext *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user