You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/hlsenc: Fix a memory leak when http_persistent is 1
Reviewed-by: Steven Liu <lq@onvideo.cn>
This commit is contained in:
@@ -1972,6 +1972,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
|
||||
av_freep(&vs->baseurl);
|
||||
}
|
||||
|
||||
ff_format_io_close(s, &hls->m3u8_out);
|
||||
ff_format_io_close(s, &hls->sub_m3u8_out);
|
||||
av_freep(&hls->key_basename);
|
||||
av_freep(&hls->var_streams);
|
||||
av_freep(&hls->master_m3u8_url);
|
||||
|
Reference in New Issue
Block a user