Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
7df2981f04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avf_concat.c

+ 1
- 1
libavfilter/avf_concat.c View File

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


Loading…
Cancel
Save