Since there is a pthread_mutex_unlock() in normal condition, another
pthread_mutex_unlock() in the "tmp != NULL" branch should be removed,
otherwise will cause a double unlock.
Fixes issue #2378.
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11642 (master)
(cherry picked from commit
|
||
---|---|---|
.. | ||
Makefile | ||
spdk_thread.map | ||
thread_internal.h | ||
thread.c |