mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Get rid of DEL() and FREE() macros.
Part of CoreLibExe must die.
This commit is contained in:
@ -102,7 +102,7 @@ void CNtWaitHandle::IncRef () {
|
||||
//===========================================================================
|
||||
void CNtWaitHandle::DecRef () {
|
||||
if (!InterlockedDecrement(&m_refCount))
|
||||
DEL(this);
|
||||
delete this;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -384,7 +384,7 @@ void INtFileDelete (
|
||||
}
|
||||
file->critsect.Leave();
|
||||
|
||||
DEL(file);
|
||||
delete file;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -600,7 +600,7 @@ static void ListenPrepareListeners (fd_set * readfds) {
|
||||
|
||||
// destroy unused ports
|
||||
if (!port->listenCount) {
|
||||
DEL(port);
|
||||
delete port;
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -980,7 +980,7 @@ void INtSocketOpCompleteSocketConnect (NtOpConnAttempt * op) {
|
||||
// and because connection attempts are not waitable
|
||||
ASSERT(!op->link.IsLinked());
|
||||
ASSERT(!op->signalComplete);
|
||||
DEL(op);
|
||||
delete op;
|
||||
|
||||
PerfSubCounter(kAsyncPerfSocketConnAttemptsOutCurr, 1);
|
||||
}
|
||||
@ -1259,7 +1259,7 @@ void NtSocketDelete (AsyncSocket conn) {
|
||||
return;
|
||||
}
|
||||
|
||||
DEL(sock);
|
||||
delete sock;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
Reference in New Issue
Block a user