[FFmpeg-cvslog] avformat/tee: Fix leak of strings

Andreas Rheinhardt git at videolan.org
Sun Oct 3 23:49:17 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Sep  6 02:23:38 2021 +0200| [4df34df642d252ec7849e07812548c417961f9ec] | committer: Andreas Rheinhardt

avformat/tee: Fix leak of strings

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/libavformat/tee.c b/libavformat/tee.c
index a96d883368..050c96d326 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -404,6 +404,8 @@ end:
     av_free(format);
     av_free(select);
     av_free(on_fail);
+    av_free(use_fifo);
+    av_free(fifo_options_str);
     av_dict_free(&options);
     av_dict_free(&bsf_options);
     av_freep(&tmp_select);



More information about the ffmpeg-cvslog mailing list