From f701aeffd52cca90649e6cb869114e1bb69bc915 Mon Sep 17 00:00:00 2001 From: Feoramund <161657516+Feoramund@users.noreply.github.com> Date: Sat, 14 Jun 2025 11:45:23 -0400 Subject: [PATCH] mem: Correct wrong error message --- core/mem/allocators.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mem/allocators.odin b/core/mem/allocators.odin index 98738c460..4f6655193 100644 --- a/core/mem/allocators.odin +++ b/core/mem/allocators.odin @@ -1119,7 +1119,7 @@ stack_resize_bytes_non_zeroed :: proc( old_memory := raw_data(old_data) old_size := len(old_data) if s.data == nil { - panic("Stack free all on an uninitialized stack allocator", loc) + panic("Stack resize on an uninitialized stack allocator", loc) } if old_memory == nil { return stack_alloc_bytes_non_zeroed(s, size, alignment, loc)