1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Get rid of NEW(), TRACKED_NEW, and ZERO().

This commit is contained in:
Darryl Pogue
2012-01-21 01:09:48 -08:00
committed by Adam Johnson
parent 30430d3024
commit 5013a978eb
423 changed files with 2500 additions and 2503 deletions

View File

@ -304,7 +304,7 @@ void plGenericType::SetVar(Types t, unsigned int size, void* val)
case kString :
{
delete [] fS;
fS = TRACKED_NEW char[size+1];
fS = new char[size+1];
memcpy(fS,val,size);
fS[size] = 0;
break;