From 3336ab2e1cbe71ae3c026ee76ee4e06724ba518c Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 7 May 2024 01:16:02 -0400 Subject: [PATCH] Its the pool free lists... --- code/grime_pool_allocator.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/grime_pool_allocator.odin b/code/grime_pool_allocator.odin index d7ba31d..8b53ba3 100644 --- a/code/grime_pool_allocator.odin +++ b/code/grime_pool_allocator.odin @@ -177,7 +177,7 @@ pool_grab :: proc( pool : Pool, zero_memory := false ) -> ( block : []byte, allo alloc_error = .None // Check the free-list first for a block - if pool.free_list_head != nil + if pool.free_list_head != nil && false // There is a very nasty memory bug with free-lists I need to solve before they can be used. { head := & pool.free_list_head