2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04: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

@ -190,7 +190,7 @@ void CFile::Complete (void * op, CCritSect * critSect, AsyncId asyncId) {
//===========================================================================
void CFile::Delete (void * op) {
FileOp * fileOp = (FileOp *)op;
DEL(fileOp);
delete fileOp;
}
//===========================================================================

View File

@ -457,13 +457,13 @@ void CSocket::OnConnect () {
);
// Delete the connect command
DEL(command);
delete command;
// Handle failure to connect
if (error) {
// Destroy the socket
DEL(this);
delete this;
}
@ -643,7 +643,7 @@ void CSocket::ProcessQueue () {
}
// Delete the command
DEL(command);
delete command;
}
@ -1105,7 +1105,7 @@ void W9xSocketDelete (
// Delete the object
s_critSect.Enter();
DEL(object);
delete object;
s_critSect.Leave();
}

View File

@ -234,7 +234,7 @@ static unsigned CALLBACK W9xThreadProc (AsyncThread *) {
if (rec) {
s_dispInProcList.Link(rec);
rec->Complete(&s_critSect);
DEL(rec);
delete rec;
timeout = 0;
}
else {