mirror of
https://github.com/schoebel/mars
synced 2025-01-02 20:32:17 +00:00
main: destroy peer_lock mutex
This commit is contained in:
parent
8dab12207b
commit
a23f39c064
@ -3744,6 +3744,7 @@ static int _kill_peer(struct mars_peerinfo *peer)
|
|||||||
brick_string_free(peer->peer_ip);
|
brick_string_free(peer->peer_ip);
|
||||||
brick_string_free(peer->peer_dir_list);
|
brick_string_free(peer->peer_dir_list);
|
||||||
brick_string_free(peer->rebase_dir);
|
brick_string_free(peer->rebase_dir);
|
||||||
|
mutex_destroy(&peer->peer_lock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user