[FFmpeg-cvslog] lavf/tee: fix leak of bsfs array.

Nicolas George git at videolan.org
Mon Oct 21 23:58:52 CEST 2013


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Mon Oct 21 17:02:17 2013 +0200| [c4e6024adc18df8ff82157227e2b4159f77951f9] | committer: Nicolas George

lavf/tee: fix leak of bsfs array.

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

 libavformat/tee.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/tee.c b/libavformat/tee.c
index 78348e3..12ea0ea 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -303,6 +303,7 @@ static void close_slaves(AVFormatContext *avf)
             }
         }
         av_freep(&tee->slaves[i].stream_map);
+        av_freep(&tee->slaves[i].bsfs);
 
         avio_close(avf2->pb);
         avf2->pb = NULL;



More information about the ffmpeg-cvslog mailing list