diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-09-09 14:15:21 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-09-12 10:40:41 +0800 |
commit | 9ff8fbda6598ec6ce231e81e756e2c68e9c8f59f (patch) | |
tree | b55917ab9caf5b5c4cf79a0bfb0be479a6cfdfb0 /libavformat/hlsenc.c | |
parent | 5b809a8d4bc8523a4b4ccb6e7b8ffa8bfc178106 (diff) | |
download | ffmpeg-9ff8fbda6598ec6ce231e81e756e2c68e9c8f59f.tar.gz |
avformat/hlsenc: fix memleak at hls_write_trailer
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r-- | libavformat/hlsenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index c9858f21bf..9070a39eeb 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2643,6 +2643,7 @@ failed: ff_format_io_close(s, &vs->out); hls_window(s, 1, vs); } + ffio_free_dyn_buf(&oc->pb); avformat_free_context(oc); vs->avf = NULL; |