* The UDP protocol was deleting a received error buffer twice in the case that
everything went okay. This finally fixes #6446. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38145 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -738,12 +738,7 @@ UdpEndpointManager::ReceiveError(status_t error, net_buffer* buffer)
|
|||||||
source.SetPort(header.source_port);
|
source.SetPort(header.source_port);
|
||||||
destination.SetPort(header.destination_port);
|
destination.SetPort(header.destination_port);
|
||||||
|
|
||||||
status_t status = domainSupport->DeliverError(error, buffer);
|
return domainSupport->DeliverError(error, buffer);
|
||||||
if (status != B_OK)
|
|
||||||
return status;
|
|
||||||
|
|
||||||
gBufferModule->free(buffer);
|
|
||||||
return B_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user