ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Sat Nov 22 
18:44:35 2014 +0100| [7df2981f04dceed352b362ffe6e6c5be3f27046b] | committer: 
Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7df2981f04dceed352b362ffe6e6c5be3f27046b
---

 libavfilter/avf_concat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c
index 266bb36..088d782 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 = {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to