mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
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:
parent
c2a5909cd4
commit
185b3b2d7e
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ gst_validate_overide_registery_free (GstValidateOverrideRegistry * reg)
|
||||||
g_queue_clear (®->name_overrides);
|
g_queue_clear (®->name_overrides);
|
||||||
g_queue_clear (®->gtype_overrides);
|
g_queue_clear (®->gtype_overrides);
|
||||||
g_queue_clear (®->klass_overrides);
|
g_queue_clear (®->klass_overrides);
|
||||||
|
g_mutex_clear (®->mutex);
|
||||||
|
|
||||||
g_slice_free (GstValidateOverrideRegistry, reg);
|
g_slice_free (GstValidateOverrideRegistry, reg);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue