Remove the stupid Z_CheckHeap from Z_Malloc (speeds up zone a lot).

This commit is contained in:
Anton E. Gavrilov 2000-08-14 13:42:00 +00:00
parent 06224a998f
commit 1b7fc4c3be

View file

@ -160,7 +160,6 @@ void *Z_Malloc (int size)
{ {
void *buf; void *buf;
Z_CheckHeap (); // DEBUG
buf = Z_TagMalloc (size, 1); buf = Z_TagMalloc (size, 1);
if (!buf) if (!buf)
Sys_Error ("Z_Malloc: failed on allocation of %i bytes",size); Sys_Error ("Z_Malloc: failed on allocation of %i bytes",size);