diff options
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index e762bc19fc..3ae3c7cc5c 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1807,9 +1807,7 @@ static int hls_read_header(AVFormatContext *s) return 0; fail: - free_playlist_list(c); - free_variant_list(c); - free_rendition_list(c); + hls_close(s); return ret; } |