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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-22 18:44:35 +01:00
parent 8e6a44cfc5
commit 7df2981f04

View File

@ -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 = {