diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 18:44:35 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-22 18:47:26 +0100 |
commit | 7df2981f04dceed352b362ffe6e6c5be3f27046b (patch) | |
tree | b4c2016d8530a79878b173d4d556707a34cf9746 | |
parent | 8e6a44cfc5ecceb12b8eed11d51574bb22855570 (diff) | |
download | ffmpeg-7df2981f04dceed352b362ffe6e6c5be3f27046b.tar.gz |
avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/avf_concat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index 266bb361ef..088d782d46 100644 --- a/libavfilter/avf_concat.c +++ b/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 = { |