From eacd06327dd5ac3be3800d102e5b56a1efd051b0 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 11 Mar 2006 17:11:23 +0000 Subject: [PATCH] fix incredibly stupid bug in Memory_Init, it was clearing the pool chain AFTER allocating two pools git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6100 d7cf8633-e32d-0410-b094-e92efae38249 --- zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone.c b/zone.c index 8eb91967..39369d57 100644 --- a/zone.c +++ b/zone.c @@ -461,9 +461,9 @@ Memory_Init */ void Memory_Init (void) { + poolchain = NULL; tempmempool = Mem_AllocPool("Temporary Memory", POOLFLAG_TEMP, NULL); zonemempool = Mem_AllocPool("Zone", 0, NULL); - poolchain = NULL; } void Memory_Shutdown (void) -- 2.39.2