aboutsummaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger2012-01-15 10:08:02 +0100
committerReimar Döffinger2012-01-16 19:21:24 +0100
commit203f94fd7c55c08ecb162939e006548366a15f42 (patch)
tree9f4c1f5d7a8c701e16877f5192cb88d18636b645 /libavformat
parent6003ec880b5654ece467293b0c9c92f328235b86 (diff)
mxfdec: Add missing free.
Should fix valgrind FATE. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 216273701e..4c2949d7fc 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);