qtmux: Fix buffer leak in fragment_buffers
authorPatricia Muscalu <patricia@axis.com>
Thu, 22 Dec 2022 10:16:26 +0000 (11:16 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 22 Dec 2022 14:11:10 +0000 (14:11 +0000)
commitd752bf1b462ca348307fc0363e80aebc8072c306
tree17c552841ff1ab76ca80e9289aae7cb84450b736
parent194dcd91e08fd23d5a5f036d58f91a58812e5eaf
qtmux: Fix buffer leak in fragment_buffers

When pushing buffers from one of the sink pads fail,
make sure that all buffers added to fragment_buffers on other pads
are freed as well.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3624>
subprojects/gst-plugins-good/gst/isomp4/gstqtmux.c