mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 23:32:33 +00:00
gstadaptivedemux: fix memory leak
GstQuery leaks when using invalid url Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5156>
This commit is contained in:
parent
1d7f2c2b9a
commit
19a0463903
1 changed files with 1 additions and 0 deletions
|
@ -960,6 +960,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