mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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:
parent
aaa7a690fa
commit
317d2a814f
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 ? ", " : "",
|
||||
get_type_icon (sinfo), capsdesc);
|
||||
|
||||
g_free (capsdesc);
|
||||
|
||||
if (GST_IS_DISCOVERER_CONTAINER_INFO (sinfo)) {
|
||||
GList *tmp, *streams;
|
||||
|
||||
|
|
Loading…
Reference in a new issue