ges-structured-interface: fix double free

This was introduced in commit 6233eb0f
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-10-28 18:34:30 +01:00
parent 04af62b70f
commit ff16221df5

View file

@ -198,7 +198,7 @@ _check_fields (GstStructure * structure, FieldsError fields_error,
g_list_free (fields_error.invalid_fields); g_list_free (fields_error.invalid_fields);
g_string_free (msg, TRUE); g_string_free (msg, TRUE);
g_list_free (fields_error.invalid_fields); fields_error.invalid_fields = NULL;
return FALSE; return FALSE;
} }