summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index 78885038654..02ae03b217f 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -1509,6 +1509,7 @@ void item_user_lock_init(void)
void item_user_lock_free(void)
{
hash_free(&hash_user_locks);
+ pthread_mutex_destroy(&LOCK_user_locks);
}
void item_user_lock_release(ULL *ull)