[FFmpeg-cvslog] avformat/hls: Remember to free HLSContext::headers
Joel Holdsworth
git at videolan.org
Sun Dec 27 22:20:10 CET 2015
ffmpeg | branch: master | Joel Holdsworth <joel at airwebreathe.org.uk> | Sun Dec 27 12:21:44 2015 +0000| [9cdccd404be9b239c9cca2be88dd63657b83d6e5] | committer: Michael Niedermayer
avformat/hls: Remember to free HLSContext::headers
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9cdccd404be9b239c9cca2be88dd63657b83d6e5
---
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;
}
More information about the ffmpeg-cvslog
mailing list