avformat/hls: Remember to free HLSContext::headers

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Joel Holdsworth 2015-12-27 12:21:44 +00:00 committed by Michael Niedermayer
parent b4eb1f29eb
commit 9cdccd404b

View 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;
}