validate:override-registry: fix memory leak

mutex is being initialized but not cleared.

https://bugzilla.gnome.org/show_bug.cgi?id=752754
This commit is contained in:
Vineeth TM 2015-07-23 13:35:04 +09:00 committed by Nicolas Dufresne
parent c2a5909cd4
commit 185b3b2d7e

View file

@ -104,6 +104,7 @@ gst_validate_overide_registery_free (GstValidateOverrideRegistry * reg)
g_queue_clear (&reg->name_overrides);
g_queue_clear (&reg->gtype_overrides);
g_queue_clear (&reg->klass_overrides);
g_mutex_clear (&reg->mutex);
g_slice_free (GstValidateOverrideRegistry, reg);
}