1
0
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:
Darryl Pogue
2011-10-23 20:52:33 -07:00
committed by Adam Johnson
parent be26b145df
commit 8a3f0cfd5b
88 changed files with 262 additions and 265 deletions

View File

@ -102,7 +102,7 @@ void CNtWaitHandle::IncRef () {
//===========================================================================
void CNtWaitHandle::DecRef () {
if (!InterlockedDecrement(&m_refCount))
DEL(this);
delete this;
}
//===========================================================================

View File

@ -384,7 +384,7 @@ void INtFileDelete (
}
file->critsect.Leave();
DEL(file);
delete file;
}
//===========================================================================

View 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;
}
//===========================================================================