Commit ea28da44 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

validate: Fix double freeing of GstStructure

gst_validate_get_config is transfer-container only
parent cdfa0778
Pipeline #399094 canceled with stages
in 27 seconds
...@@ -395,7 +395,7 @@ gst_validate_override_registry_preload (void) ...@@ -395,7 +395,7 @@ gst_validate_override_registry_preload (void)
for (tmp = overrides; tmp; tmp = tmp->next) for (tmp = overrides; tmp; tmp = tmp->next)
_add_override_from_struct (tmp->data); _add_override_from_struct (tmp->data);
g_list_free_full (overrides, (GDestroyNotify) gst_structure_free); g_list_free (overrides);
sos = g_getenv ("GST_VALIDATE_OVERRIDE"); sos = g_getenv ("GST_VALIDATE_OVERRIDE");
if (!sos) { if (!sos) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment