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