diff options
Diffstat (limited to 'source/base/base_arena.cpp')
| -rw-r--r-- | source/base/base_arena.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/base_arena.cpp b/source/base/base_arena.cpp index b4235e6..759080c 100644 --- a/source/base/base_arena.cpp +++ b/source/base/base_arena.cpp | |||
| @@ -125,7 +125,7 @@ arena_resize_block_align(MemArena *arena, void *old_memory, u64 new_size, u64 ol | |||
| 125 | if((arena->base_position + arena->previous_position) == old_memory) { | 125 | if((arena->base_position + arena->previous_position) == old_memory) { |
| 126 | arena->current_position = arena->previous_position + new_size; | 126 | arena->current_position = arena->previous_position + new_size; |
| 127 | if(new_size > old_size) { | 127 | if(new_size > old_size) { |
| 128 | MemSet(&arena->current_position, new_size - old_size); | 128 | MemSetZero(old_mem + old_size, new_size - old_size); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | return (MemArena *)old_memory; | 131 | return (MemArena *)old_memory; |
