aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nutenc.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-03-03 17:31:24 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-03-03 17:31:24 +0000
commit4b83fc0fe414dc7959a5511fcdce320ad90ac7ba (patch)
tree649182f9e748b1e89ee8ca694bb0a1be09972e3c /libavformat/nutenc.c
parent1f6d0d42c53cde5e33e92c4529b774c256157f89 (diff)
downloadffmpeg-4b83fc0fe414dc7959a5511fcdce320ad90ac7ba.tar.gz
Plug memory leak in NUT muxer and demuxer
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 0cce48dea0..e06a85f54f 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -797,6 +797,7 @@ static int write_trailer(AVFormatContext *s){
while(nut->header_count<3)
write_headers(nut, bc);
put_flush_packet(bc);
+ ff_nut_free_sp(nut);
av_freep(&nut->stream);
av_freep(&nut->time_base);