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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/93/merge
Michael Niedermayer 10 years ago
parent 8e6a44cfc5
commit 7df2981f04
  1. 2
      libavfilter/avf_concat.c

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

Loading…
Cancel
Save