adaptivedemux2: Fix collection leaks
authorEdward Hervey <edward@centricular.com>
Mon, 31 Oct 2022 15:08:23 +0000 (16:08 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Nov 2022 17:59:21 +0000 (17:59 +0000)
commit7f86e925e2aa2aefa03b1b7c607bfdf85b23a398
tree68bdc375b36a5ed988c92eaeb153b9aa0638d600
parent93d8b3f6607c433babfa8e5ae7c39f86f0b3b45f
adaptivedemux2: Fix collection leaks

* The collection on the period was never unreffed
* The collection in the message handler was never unreffed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3319>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-period.c
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c