From 22261f9e719a012efd871fe04138c3b6e4c8e88c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 14 Sep 2025 17:21:33 +0100 Subject: Fix `temporary_allocator` --- src/common_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common_memory.cpp') diff --git a/src/common_memory.cpp b/src/common_memory.cpp index 0b95e1242..3658c0ffe 100644 --- a/src/common_memory.cpp +++ b/src/common_memory.cpp @@ -481,7 +481,7 @@ gb_internal gbAllocator permanent_allocator() { } gb_internal gbAllocator temporary_allocator() { - return {thread_arena_allocator_proc, cast(void *)cast(uintptr)ThreadArena_Permanent}; + return {thread_arena_allocator_proc, cast(void *)cast(uintptr)ThreadArena_Temporary}; } -- cgit v1.2.3