* Another error found by Romain: the socket's mutex could be destroyed twice
in socket_create(). Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30201 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -186,7 +186,6 @@ create_socket(int family, int type, int protocol, net_socket_private** _socket)
|
|||||||
|
|
||||||
status_t status = get_domain_protocols(socket);
|
status_t status = get_domain_protocols(socket);
|
||||||
if (status < B_OK) {
|
if (status < B_OK) {
|
||||||
mutex_destroy(&socket->lock);
|
|
||||||
delete socket;
|
delete socket;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user