You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Plug memory leak in NSV demuxer.
Patch by Jai Menon. Originally committed as revision 22173 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -728,6 +728,10 @@ static int nsv_read_close(AVFormatContext *s)
|
||||
|
||||
av_freep(&nsv->nsvs_file_offset);
|
||||
av_freep(&nsv->nsvs_timestamps);
|
||||
if (nsv->ahead[0].data)
|
||||
av_free_packet(&nsv->ahead[0]);
|
||||
if (nsv->ahead[1].data)
|
||||
av_free_packet(&nsv->ahead[1]);
|
||||
|
||||
#if 0
|
||||
|
||||
|
Reference in New Issue
Block a user