Skip to content

Commit

Permalink
MDEV-26561 Fix a bug due to unreleased lock
Browse files Browse the repository at this point in the history
Fix a bug of unreleased lock ctrl_mutex in the method create_worker_threads
  • Loading branch information
ryancaicse authored and grooverdan committed Nov 9, 2021
1 parent 8b6dfc3 commit e1eb39a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extra/mariabackup/ds_compress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e1eb39a

Please sign in to comment.