From c4e6024adc18df8ff82157227e2b4159f77951f9 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Mon, 21 Oct 2013 17:02:17 +0200 Subject: [PATCH] lavf/tee: fix leak of bsfs array. --- libavformat/tee.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tee.c b/libavformat/tee.c index 78348e3d61..12ea0ea27d 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;