mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
ges-structured-interface: Fix memory leak of invalid fields GList
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7440>
This commit is contained in:
parent
5cfa9dc0e0
commit
f068b20eb4
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ _check_fields (GstStructure * structure, FieldsError fields_error,
|
|||
if (error)
|
||||
*error = g_error_new_literal (GES_ERROR, 0, msg->str);
|
||||
|
||||
g_list_free (fields_error.invalid_fields);
|
||||
g_string_free (msg, TRUE);
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue