Commit 6bd438dc authored by vitor's avatar vitor

Plug memory leak in NSV demuxer.

Patch by Jai Menon.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22173 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d659ad52
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment