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

Andreas Rheinhardt git at videolan.org
Wed Jan 12 02:50:42 EET 2022


ffmpeg | branch: release/4.4 | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Sep  6 02:23:38 2021 +0200| [e7201aa246047676bb398f21ddda273026d8fb83] | committer: Andreas Rheinhardt

avformat/tee: Fix leak of strings

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
(cherry picked from commit 4df34df642d252ec7849e07812548c417961f9ec)

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

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

diff --git a/libavformat/tee.c b/libavformat/tee.c
index c0b69a386c..c04706ce9a 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -403,6 +403,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