Change BlockZero to memset.

This commit is contained in:
sfraser%netscape.com 1998-12-05 22:41:14 +00:00
parent 78a692454a
commit c90ff9b46e

View File

@ -564,7 +564,7 @@ void *calloc(size_t nele, size_t elesize)
size_t space = nele * elesize;
void *newBlock = ::malloc(space);
if (newBlock)
BlockZero(newBlock, space);
memset(newBlock, 0, space);
return newBlock;
}