]> git.sesse.net Git - ffmpeg/commitdiff
lavf/tee: fix leak of bsfs array.
authorNicolas George <george@nsup.org>
Mon, 21 Oct 2013 15:02:17 +0000 (17:02 +0200)
committerNicolas George <george@nsup.org>
Mon, 21 Oct 2013 15:32:01 +0000 (17:32 +0200)
libavformat/tee.c

index 78348e3d6183dc8fa1ceba5c85686d18d34323f7..12ea0ea27d6d2729c84f0e915c9f3ea047aa085c 100644 (file)
@@ -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;