[FFmpeg-cvslog] mxfdec: Add missing free.
Reimar Döffinger
git at videolan.org
Mon Jan 16 19:34:49 CET 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sun Jan 15 10:08:02 2012 +0100| [203f94fd7c55c08ecb162939e006548366a15f42] | committer: Reimar Döffinger
mxfdec: Add missing free.
Should fix valgrind FATE.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=203f94fd7c55c08ecb162939e006548366a15f42
---
libavformat/mxfdec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 2162737..4c2949d 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1918,6 +1918,7 @@ static int mxf_read_close(AVFormatContext *s)
for (i = 0; i < mxf->nb_index_tables; i++) {
av_freep(&mxf->index_tables[i].segments);
+ av_freep(&mxf->index_tables[i].ptses);
av_freep(&mxf->index_tables[i].fake_index);
}
av_freep(&mxf->index_tables);
More information about the ffmpeg-cvslog
mailing list