mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-30 15:00:29 +00:00
avformat/hlsenc: free options fix memleak in hls_write_trailer
Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
This commit is contained in:
parent
76eaca43be
commit
ba436c1586
@ -2685,9 +2685,10 @@ static int hls_write_trailer(struct AVFormatContext *s)
|
||||
if (ret < 0)
|
||||
av_log(s, AV_LOG_WARNING, "Failed to upload file '%s' at the end.\n", oc->url);
|
||||
}
|
||||
av_freep(&vs->temp_buffer);
|
||||
|
||||
failed:
|
||||
av_freep(&vs->temp_buffer);
|
||||
av_dict_free(&options);
|
||||
av_freep(&filename);
|
||||
av_write_trailer(oc);
|
||||
if (oc->url[0]) {
|
||||
|
Loading…
Reference in New Issue
Block a user