diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 17:00:21 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-17 16:25:54 +0000 |
commit | 2cface71ca58b1ab811efae7d22f3264f362f672 (patch) | |
tree | 0d0ba955f52ef1847255628fbb2ad47ec98e9638 | |
parent | de11ee906ed232157392924735c18ab7d8522ccb (diff) | |
download | ffmpeg-2cface71ca58b1ab811efae7d22f3264f362f672.tar.gz |
nutenc: fix a memleak
This fixes a minor memory leak introduced in 073f8b1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavformat/nutenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 86701fa1aa..fafbae86e5 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -846,6 +846,7 @@ static int write_trailer(AVFormatContext *s){ avio_flush(bc); ff_nut_free_sp(nut); av_freep(&nut->stream); + av_freep(&nut->chapter); av_freep(&nut->time_base); return 0; |