Commit 7df2981f authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memory

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8e6a44cf
......@@ -409,7 +409,7 @@ static av_cold void uninit(AVFilterContext *ctx)
}
for (i = 0; i < ctx->nb_outputs; i++)
av_freep(&ctx->output_pads[i].name);
av_free(cat->in);
av_freep(&cat->in);
}
AVFilter ff_avf_concat = {
......
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