From 9cdccd404be9b239c9cca2be88dd63657b83d6e5 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sun, 27 Dec 2015 12:21:44 +0000 Subject: [PATCH] avformat/hls: Remember to free HLSContext::headers Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 2d4ee137ad..82d5410691 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -256,6 +256,7 @@ static void free_playlist_list(HLSContext *c) av_freep(&c->playlists); av_freep(&c->cookies); av_freep(&c->user_agent); + av_freep(&c->headers); c->n_playlists = 0; }