aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-14 11:45:23 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-06-14 13:21:14 -0400
commitf701aeffd52cca90649e6cb869114e1bb69bc915 (patch)
tree4267dedbc6936c07643d1c9f9f6ee861d4bc03e6 /core
parent7580dc2dd03a1a97403c50606aa0cb16059463a9 (diff)
mem: Correct wrong error message
Diffstat (limited to 'core')
-rw-r--r--core/mem/allocators.odin2
1 files changed, 1 insertions, 1 deletions
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)