From 39e45e5b1ce9b4e5dbe2fe663c57c25ff46996ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 28 Mar 2022 13:47:52 +0200 Subject: [PATCH] ges: remove memory leak with description free the capsdesc Part-of: --- subprojects/gst-editing-services/tools/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-editing-services/tools/utils.c b/subprojects/gst-editing-services/tools/utils.c index 9b368fe..0a84672 100644 --- a/subprojects/gst-editing-services/tools/utils.c +++ b/subprojects/gst-editing-services/tools/utils.c @@ -415,6 +415,8 @@ describe_stream_info (GstDiscovererStreamInfo * sinfo, GString * desc) g_string_append_printf (desc, "%s%s%s", desc->len ? ", " : "", get_type_icon (sinfo), capsdesc); + g_free (capsdesc); + if (GST_IS_DISCOVERER_CONTAINER_INFO (sinfo)) { GList *tmp, *streams; -- 2.7.4