mem: Correct wrong error message

This commit is contained in:
Feoramund
2025-06-14 11:45:23 -04:00
parent 7580dc2dd0
commit f701aeffd5

View File

@@ -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)