[FFmpeg-devel] [PATCH] avformat/hls.c: Properly free prev_segments dynarray after playlist parsing
Liu Steven
lq at chinaffmpeg.org
Mon Dec 24 12:25:10 EET 2018
> 在 2018年12月24日,下午5:24,Valery Kot <valery.kot at gmail.com> 写道:
>
> Updated commit message for hls.c memory leak fix
> <0001-avformat-hls.c-Properly-free-prev_segments-dynarray-.txt>_______________________________________________
Looking at the free_segment_dynarray:
static void free_segment_dynarray(struct segment **segments, int n_segments)
{
int i;
for (i = 0; i < n_segments; i++) {
av_freep(&segments[i]->key);
av_freep(&segments[i]->url);
av_freep(&segments[i]);
}
}
perhaps the segments have been free?
Thanks
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list