aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-22 18:44:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-22 18:47:26 +0100
commit7df2981f04dceed352b362ffe6e6c5be3f27046b (patch)
treeb4c2016d8530a79878b173d4d556707a34cf9746
parent8e6a44cfc5ecceb12b8eed11d51574bb22855570 (diff)
downloadffmpeg-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.c2
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 = {