Skip to content

Commit

Permalink
Handle .Alloc_Non_Zeroed
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarnp committed Apr 5, 2024
1 parent aaa6b16 commit eaf9161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allocator.odin
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MakeProfiledAllocator :: proc(
EmitFree(old_memory, callstack_size, secure)
case .Free_All:
// NOTE: Free_All not supported by this allocator
case .Resize:
case .Resize, .Resize_Non_Zeroed:
EmitFree(old_memory, callstack_size, secure)
EmitAlloc(new_memory, size, callstack_size, secure)
case .Query_Info:
Expand Down

1 comment on commit eaf9161

@oskarnp
Copy link
Owner Author

@oskarnp oskarnp commented on eaf9161 Apr 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant .Resize_Non_Zeroed in the commit message of course. Oops.

Please sign in to comment.