mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-04 01:34:39 +00:00
mem: Correct wrong error message
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user