Commit 50a3f9a4 authored by Janne Grunau's avatar Janne Grunau

mxfdec: fix memleak on mxf_read_close()

parent e924a4ba
......@@ -1915,6 +1915,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment