mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -986,6 +986,7 @@ handle_incoming_manifest (GstAdaptiveDemux * demux)
|
||||||
GST_ELEMENT_ERROR (demux, STREAM, DEMUX,
|
GST_ELEMENT_ERROR (demux, STREAM, DEMUX,
|
||||||
(_("Invalid manifest URI")),
|
(_("Invalid manifest URI")),
|
||||||
("Manifest URI needs to use either data:, http:// or https://"));
|
("Manifest URI needs to use either data:, http:// or https://"));
|
||||||
|
gst_query_unref (query);
|
||||||
ret = FALSE;
|
ret = FALSE;
|
||||||
goto unlock_out;
|
goto unlock_out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue