mirror of https://github.com/schoebel/mars
server: destroy mutex
This commit is contained in:
parent
d49a6e54c8
commit
93b49cbc68
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue