mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/hlsenc: fix memleak at hls_write_trailer
Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
5b809a8d4b
commit
9ff8fbda65
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user