mxf: fix descriptor leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Apr 2015 09:28:39 +0000 (11:28 +0200)
committerThiago Santos <thiagoss@osg.samsung.com>
Tue, 28 Apr 2015 14:53:52 +0000 (11:53 -0300)
commitda113b5ad7976c001633c7f79a2b8b95935f8176
treec505608573297c044c6e6822b35bf52df8eeac83
parent94446498de2c49aa636cd1dffbc03c0bf4793eae
mxf: fix descriptor leak

Free the existing descriptor array, if any, before replacing it.

Fix leaks with the
validate.file.playback.scrub_forward_seeking.test-mpeg2-mp3_mxf scenario.

https://bugzilla.gnome.org/show_bug.cgi?id=748580
gst/mxf/mxfmetadata.c