server: destroy mutex

This commit is contained in:
Thomas Schoebel-Theuer 2022-06-15 05:41:59 +02:00 committed by Thomas Schoebel-Theuer
parent d49a6e54c8
commit 93b49cbc68
1 changed files with 1 additions and 0 deletions

View File

@ -939,6 +939,7 @@ static int server_brick_destruct(struct server_brick *brick)
{
CHECK_HEAD_EMPTY(&brick->cb_read_list);
CHECK_HEAD_EMPTY(&brick->cb_write_list);
mutex_destroy(&brick->cb_mutex);
return 0;
}