aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2013-10-21 17:02:17 +0200
committerNicolas George <george@nsup.org>2013-10-21 17:32:01 +0200
commitc4e6024adc18df8ff82157227e2b4159f77951f9 (patch)
tree08caa0721472bbace672e5b589b32939963c1bf9 /libavformat/tee.c
parent5a12142aca228ca1000650793aeb50b3b32994b6 (diff)
downloadffmpeg-c4e6024adc18df8ff82157227e2b4159f77951f9.tar.gz
lavf/tee: fix leak of bsfs array.
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c1
1 files changed, 1 insertions, 0 deletions
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;