mxfdemux: Don't leak index table segments on failures
authorEdward Hervey <edward@centricular.com>
Wed, 12 Oct 2022 09:12:14 +0000 (11:12 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 12 Oct 2022 09:15:57 +0000 (09:15 +0000)
commit9ca306d22c90fe498433c37ee2e688f3350d8600
treed3968dca11a6d952e55cf0894a64763a825b9bd7
parent11982bcaba411a38f8bf089d1f35b4832c8be915
mxfdemux: Don't leak index table segments on failures

The segment was freed ... but not the contents :)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3163>
subprojects/gst-plugins-bad/gst/mxf/mxfdemux.c