This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Plug memory leak in NSV demuxer.
Patch by Jai Menon. Originally committed as revision 22173 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Jai Menon
Vitor Sessak
15 years ago
parent
0a41faa9a7
commit
1f6d0d42c5
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libavformat/nsvdec.c
+ 4
- 0
libavformat/nsvdec.c
View File
@@ -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
Write
Preview
Loading…
Cancel
Save