diff options
author | Mark Reid <mindmark@gmail.com> | 2015-03-15 14:43:32 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-16 03:37:44 +0100 |
commit | e5755893786ecab2e6f0414d1b2983dcaa3d237e (patch) | |
tree | 761f36f0b93517115b36cbbf12cd2b09cbcba324 | |
parent | 7859618affe574c9de7f240d2ddc016f917c37bd (diff) |
libavformat/mxfdec: fix MXFPackage->comment_refs memory leak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mxfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 216a9f1119..b60a56deab 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -316,6 +316,7 @@ static void mxf_free_metadataset(MXFMetadataSet **ctx, int freectx) case MaterialPackage: av_freep(&((MXFPackage *)*ctx)->tracks_refs); av_freep(&((MXFPackage *)*ctx)->name); + av_freep(&((MXFPackage *)*ctx)->comment_refs); break; case TaggedValue: av_freep(&((MXFTaggedValue *)*ctx)->name); |