2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-16 18:35:40 +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

@ -260,7 +260,7 @@ void OraConnPool::Shutdown () {
}
critsect.Leave();
DEL(data);
delete data;
}
//============================================================================
@ -298,7 +298,7 @@ OraConn * OraConnPool::GetConn (const wchar_t tag[]) {
for (;;) {
if (!oraConn || !oraConn->occiConn) {
DEL(oraConn);
delete oraConn;
oraConn = nil;
LogMsg(kLogError, L"OraConnPool::GetConn: Failed to aquire a database connection");
break;
@ -331,7 +331,7 @@ void OraConnPool::FreeConn (OraConn *& oraConn) {
LogMsg(kLogPerf, L"OraFreeConn: %u, %p, %s", connCount, oraConn, oraConn->tag);
#endif
DEL(oraConn);
delete oraConn;
try {
occiConn->commit();