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:
Stéphane Cerveau 2022-03-28 13:47:52 +02:00 committed by GStreamer Marge Bot
parent ef9962d66a
commit 39e45e5b1c

View file

@ -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;