Skip to content
Snippets Groups Projects
Commit 7df2981f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent 8e6a44cf
No related branches found
No related tags found
No related merge requests found
...@@ -409,7 +409,7 @@ static av_cold void uninit(AVFilterContext *ctx) ...@@ -409,7 +409,7 @@ static av_cold void uninit(AVFilterContext *ctx)
} }
for (i = 0; i < ctx->nb_outputs; i++) for (i = 0; i < ctx->nb_outputs; i++)
av_freep(&ctx->output_pads[i].name); av_freep(&ctx->output_pads[i].name);
av_free(cat->in); av_freep(&cat->in);
} }
AVFilter ff_avf_concat = { AVFilter ff_avf_concat = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment