diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c index f5966f5577..0bb75d2a3e 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c @@ -2427,6 +2427,8 @@ can_handle_collection (GstAdaptiveDemux2Stream * stream, default: break; } + if (tags) + gst_tag_list_unref (tags); } /* Check that we either have at most 1 of each track type, or that