ffmpeg | branch: master | vkot <valery....@4cinsights.com> | Mon Dec 24 10:19:55 2018 +0100| [3ee735901e08213a46a5f7339ca86c43524d6994] | committer: Steven Liu
avformat/hls.c: Properly free prev_segments dynarray after playlist parsing > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ee735901e08213a46a5f7339ca86c43524d6994 --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 8ad08baaed..63e1abe789 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -931,6 +931,7 @@ static int parse_playlist(HLSContext *c, const char *url, prev_start_seq_no, pls->start_seq_no); } free_segment_dynarray(prev_segments, prev_n_segments); + av_freep(&prev_segments); } if (pls) pls->last_load_time = av_gettime_relative(); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog