From 5145b1956c76352a91f5a074b2df7202d3f9e1a4 Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 28 Oct 2019 12:25:20 +0700 Subject: [PATCH] zone; revert removing clean check --- engine/common/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/zone.c b/engine/common/zone.c index 85394e22..15cd915e 100644 --- a/engine/common/zone.c +++ b/engine/common/zone.c @@ -83,7 +83,7 @@ void *_Mem_Alloc( byte *poolptr, size_t size, qboolean clear, const char *filena mem->prev = NULL; pool->chain = mem; if( mem->next ) mem->next->prev = mem; - //if( clear ) + if( clear ) memset((void *)((byte *)mem + sizeof( memheader_t )), 0, mem->size ); return (void *)((byte *)mem + sizeof( memheader_t ));