libavformat/mxfdec: fix MXFPackage->comment_refs memory leak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/125/head
Mark Reid 10 years ago committed by Michael Niedermayer
parent 7859618aff
commit e575589378
  1. 1
      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);

Loading…
Cancel
Save