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);