mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
Remove the stupid Z_CheckHeap from Z_Malloc (speeds up zone a lot).
This commit is contained in:
parent
06224a998f
commit
1b7fc4c3be
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue