ges: remove memory leak with description

free the capsdesc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3140>
This commit is contained in:
Stéphane Cerveau 2022-03-28 13:47:52 +02:00 committed by GStreamer Marge Bot
parent aaa7a690fa
commit 317d2a814f

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;