gstadaptivedemux: fix memory leak
GstQuery leaks when using invalid url Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5154>
This commit is contained in:
parent
8b5833c546
commit
e89a64cd1f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user