From: havoc Date: Sat, 11 Mar 2006 17:11:23 +0000 (+0000) Subject: fix incredibly stupid bug in Memory_Init, it was clearing the pool chain AFTER alloca... X-Git-Tag: xonotic-v0.1.0preview~4218 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eacd06327dd5ac3be3800d102e5b56a1efd051b0;p=xonotic%2Fdarkplaces.git 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 --- 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)