diff --git a/src/cfgparse.c b/src/cfgparse.c index 4b0dc9e51..e3f3d9fae 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -3571,6 +3571,7 @@ int check_config_validity() goto err; idle_conns[i].cleanup_task->process = srv_cleanup_toremove_connections; idle_conns[i].cleanup_task->context = NULL; + HA_SPIN_INIT(&idle_conns[i].toremove_lock); MT_LIST_INIT(&idle_conns[i].toremove_conns); } }