projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7de78e
)
gstgiosrc: Don't leak scheme string in gst_gio_src_query()
author
Jan Schmidt
<jan@centricular.com>
Sun, 21 Mar 2021 05:46:54 +0000
(16:46 +1100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Sun, 21 Mar 2021 06:14:37 +0000
(06:14 +0000)
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>
gst/gio/gstgiosrc.c
patch
|
blob
|
history
diff --git
a/gst/gio/gstgiosrc.c
b/gst/gio/gstgiosrc.c
index
646220d
..
60b12b2
100644
(file)
--- a/
gst/gio/gstgiosrc.c
+++ b/
gst/gio/gstgiosrc.c
@@
-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);