main: destroy peer_lock mutex

This commit is contained in:
Thomas Schoebel-Theuer 2022-06-15 05:22:36 +02:00 committed by Thomas Schoebel-Theuer
parent 8dab12207b
commit a23f39c064
1 changed files with 1 additions and 0 deletions

View File

@ -3744,6 +3744,7 @@ static int _kill_peer(struct mars_peerinfo *peer)
brick_string_free(peer->peer_ip);
brick_string_free(peer->peer_dir_list);
brick_string_free(peer->rebase_dir);
mutex_destroy(&peer->peer_lock);
return 0;
}