summaryrefslogtreecommitdiff
path: root/libavfilter/avf_concat.c
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 /libavfilter/avf_concat.c
parent8e6a44cfc5ecceb12b8eed11d51574bb22855570 (diff)
avfilter/avf_concat: Use av_freep(), avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avf_concat.c')
-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 = {