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:
@ -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;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
@ -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();
|
||||
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user