aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-17 17:00:21 +0100
committerMans Rullgard <mans@mansr.com>2011-03-17 16:25:54 +0000
commit2cface71ca58b1ab811efae7d22f3264f362f672 (patch)
tree0d0ba955f52ef1847255628fbb2ad47ec98e9638
parentde11ee906ed232157392924735c18ab7d8522ccb (diff)
downloadffmpeg-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.c1
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;