From 84a2d3045bfea9a53b9a085a0ce7beb671015512 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 8 Feb 2009 04:35:36 +0000 Subject: [PATCH] free index entries Originally committed as revision 17040 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mxfenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 8630403423..b6eda6c63e 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1372,6 +1372,8 @@ static int mxf_write_footer(AVFormatContext *s) ff_audio_interleave_close(s); + av_freep(&mxf->index_entries); + mxf_free(s); return 0; }