mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
gstgiosrc: Don't leak scheme string in gst_gio_src_query()
Add a g_free() in the code path that forwards the query to the parent handler. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1078>
This commit is contained in:
parent
d7de78e554
commit
0444cf8fcc
1 changed files with 1 additions and 0 deletions
|
@ -485,6 +485,7 @@ gst_gio_src_query (GstBaseSrc * base_src, GstQuery * query)
|
|||
"no random access possible", scheme);
|
||||
} else {
|
||||
GST_LOG_OBJECT (src, "unhandled protocol '%s', asking parent", scheme);
|
||||
g_free (scheme);
|
||||
goto forward_parent;
|
||||
}
|
||||
g_free (scheme);
|
||||
|
|
Loading…
Reference in a new issue