libavformat/mxfdec: fix MXFPackage->comment_refs memory leak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7859618aff
commit
e575589378
@ -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…
Reference in New Issue
Block a user