diff --git a/validate/gst/validate/gst-validate-override-registry.c b/validate/gst/validate/gst-validate-override-registry.c index 9c9bca924e..586854d6f0 100644 --- a/validate/gst/validate/gst-validate-override-registry.c +++ b/validate/gst/validate/gst-validate-override-registry.c @@ -395,7 +395,7 @@ gst_validate_override_registry_preload (void) for (tmp = overrides; tmp; tmp = tmp->next) _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"); if (!sos) {