add resize non zeroed in more places

This commit is contained in:
Colin Davidson committed 2023-12-04 03:09:13 -08:00
1 parent 58e4a011c7
commit bfbeb23f54
5 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -1683,7 +1683,7 @@ MemAllocatorProc :: proc(allocator_data: rawptr, mode: mem.Allocator_Mode,
MemFree(old_memory)
return nil, nil
case .Resize:
case .Resize, .Resize_Non_Zeroed:
ptr := MemRealloc(old_memory, c.uint(size))
if ptr == nil {
err = .Out_Of_Memory