* UDP really wanted to make sure that the error buffer was freed, and just did
it once more. This should be the final nail on bug #6446. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38178 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1254,14 +1254,13 @@ udp_error_received(net_error error, net_buffer* buffer)
|
|||||||
case B_NET_ERROR_QUENCH:
|
case B_NET_ERROR_QUENCH:
|
||||||
default:
|
default:
|
||||||
// ignore them
|
// ignore them
|
||||||
break;
|
gBufferModule->free(buffer);
|
||||||
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notifyError != B_OK)
|
ASSERT(notifyError != B_OK);
|
||||||
sUdpEndpointManager->ReceiveError(notifyError, buffer);
|
|
||||||
|
|
||||||
gBufferModule->free(buffer);
|
return sUdpEndpointManager->ReceiveError(notifyError, buffer);
|
||||||
return B_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user