diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c index b0a94cb98d..4547e514d5 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c @@ -986,6 +986,7 @@ handle_incoming_manifest (GstAdaptiveDemux * demux) GST_ELEMENT_ERROR (demux, STREAM, DEMUX, (_("Invalid manifest URI")), ("Manifest URI needs to use either data:, http:// or https://")); + gst_query_unref (query); ret = FALSE; goto unlock_out; }