mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
ges: remove memory leak with description
free the capsdesc Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2047>
This commit is contained in:
parent
ef9962d66a
commit
39e45e5b1c
1 changed files with 2 additions and 0 deletions
|
@ -415,6 +415,8 @@ describe_stream_info (GstDiscovererStreamInfo * sinfo, GString * desc)
|
||||||
g_string_append_printf (desc, "%s%s%s", desc->len ? ", " : "",
|
g_string_append_printf (desc, "%s%s%s", desc->len ? ", " : "",
|
||||||
get_type_icon (sinfo), capsdesc);
|
get_type_icon (sinfo), capsdesc);
|
||||||
|
|
||||||
|
g_free (capsdesc);
|
||||||
|
|
||||||
if (GST_IS_DISCOVERER_CONTAINER_INFO (sinfo)) {
|
if (GST_IS_DISCOVERER_CONTAINER_INFO (sinfo)) {
|
||||||
GList *tmp, *streams;
|
GList *tmp, *streams;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue