commit 859c3a4b5713a91d2240bcdbc45eab0616a30943 parent 6f8272ab56d08370ab7f2138f9f8f171eb344c30 Author: Michael Savage <mikejsavage@gmail.com> Date: Tue Jun 13 21:10:33 +0300 Oops Diffstat:
memory_arena.cc | | | 1 | + |
diff --git a/memory_arena.cc b/memory_arena.cc @@ -5,6 +5,7 @@ void memarena_init( MemoryArena * arena, u8 * memory, size_t size ) { arena->memory = memory; arena->size = size; arena->used = 0; + arena->num_checkpoints = 0; } u8 * memarena_push_size( MemoryArena * arena, size_t size, uptr alignment ) {