validate: Initialize mutex before use

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5539>
This commit is contained in:
Doug Nazar 2021-05-17 18:14:03 -04:00 committed by GStreamer Marge Bot
parent b545bd2ac5
commit aee8ac1942

View file

@ -445,6 +445,7 @@ gst_validate_runner_init (GstValidateRunner * runner)
{
runner->priv = gst_validate_runner_get_instance_private (runner);
g_mutex_init (&runner->priv->mutex);
runner->priv->reports_by_type = g_hash_table_new (g_direct_hash,
g_direct_equal);