avformat/hls: Remember to free HLSContext::headers
authorJoel Holdsworth <joel@airwebreathe.org.uk>
Sun, 27 Dec 2015 12:21:44 +0000 (12:21 +0000)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Dec 2015 20:44:15 +0000 (21:44 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/hls.c

index 2d4ee13..82d5410 100644 (file)
@@ -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;
 }