MDEV-26561 Fix a bug due to unreleased lock

Fix a bug of unreleased lock ctrl_mutex in the method create_worker_threads
This commit is contained in:
ryancaicse 2021-10-26 18:48:44 +08:00 committed by Daniel Black
parent 8b6dfc3c02
commit e1eb39a446

View file

@ -369,6 +369,7 @@ create_worker_threads(uint n)
thd)) {
msg("compress: pthread_create() failed: "
"errno = %d", errno);
pthread_mutex_unlock(&thd->ctrl_mutex);
goto err;
}
}