1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +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

@ -135,7 +135,7 @@ static void NotifyConnSocketConnect (SimpleNetConn * conn) {
kNetSuccess
);
DEL(conn->connectParam);
delete conn->connectParam;
conn->connectParam = nil;
}
@ -154,7 +154,7 @@ static void NotifyConnSocketConnectFailed (SimpleNetConn * conn) {
kNetErrConnectFailed
);
DEL(conn->connectParam);
delete conn->connectParam;
conn->connectParam = nil;
conn->DecRef("Connecting");
@ -401,8 +401,8 @@ static void Connect (const NetAddress & addr, ConnectParam * cp) {
}
s_critsect.Leave();
DEL(conn);
DEL(cp);
delete conn;
delete cp;
}
//============================================================================
@ -417,7 +417,7 @@ static void AsyncLookupCallback (
if (!addrCount) {
if (cp->callback)
cp->callback(cp->param, nil, kNetErrNameLookupFailed);
DEL(cp);
delete cp;
return;
}