gstbin: Use g_queue_clear_full()
authorJan Schmidt <jan@centricular.com>
Fri, 30 Sep 2022 18:58:04 +0000 (04:58 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 4 Oct 2022 11:19:14 +0000 (11:19 +0000)
commit92efecd1fe4eef32251c9018876408c90810b74f
tree9df1eff90b56285150fe9727a6b52d8f4e08ff5f
parent8f91f1efe4d6261c696aee914ad2456dc2d9dd09
gstbin: Use g_queue_clear_full()

Use g_queue_clear_full() to release the child list
instead of iterating over the list twice.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3101>
subprojects/gstreamer/gst/gstbin.c