[FFmpeg-devel] [PATCH 2/3] avformat/hls: Remember to free HLSContext::headers

Joel Holdsworth joel at airwebreathe.org.uk
Sat Dec 26 20:27:37 CET 2015


---
 libavformat/hls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index 2d4ee13..82d5410 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;
 }
 
-- 
1.9.1



More information about the ffmpeg-devel mailing list