[FFmpeg-devel] [PATCH 30/34] avformat/tee: Fix leak of strings

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Sep 6 05:27:58 EEST 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavformat/tee.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/tee.c b/libavformat/tee.c
index f359218a08..03356da6c0 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);
-- 
2.30.2



More information about the ffmpeg-devel mailing list