diff --git a/validate/gst/validate/gst-validate-override-registry.c b/validate/gst/validate/gst-validate-override-registry.c index 3bebfb9c13..17808245bc 100644 --- a/validate/gst/validate/gst-validate-override-registry.c +++ b/validate/gst/validate/gst-validate-override-registry.c @@ -62,7 +62,7 @@ static void (GstValidateOverrideRegistryNameEntry * entry) { g_free (entry->name); - gst_object_unref (entry->override); + g_object_unref (entry->override); g_slice_free (GstValidateOverrideRegistryNameEntry, entry); } @@ -71,7 +71,7 @@ static void gst_validate_override_registry_type_entry_free (GstValidateOverrideRegistryGTypeEntry * entry) { - gst_object_unref (entry->override); + g_object_unref (entry->override); g_slice_free (GstValidateOverrideRegistryGTypeEntry, entry); }