libavformat/mxfdec: fix MXFPackage->comment_refs memory leak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Mark Reid 2015-03-15 14:43:32 -07:00 committed by Michael Niedermayer
parent 7859618aff
commit e575589378

View File

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