mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-13 22:15:36 -04:00
Fix typo
This commit is contained in:
1 parent
3bcccf88d5
commit
e884f8c165
1 file changed
+1
@@ -523,6 +523,7 @@ gb_global Temp_Allocator temporary_allocator_data = {};
|
||||
void temp_allocator_init(Temp_Allocator *s, isize size) {
|
||||
s->backup_allocator = heap_allocator();
|
||||
s->data = cast(u8 *)gb_alloc_align(s->backup_allocator, size, 16);
|
||||
s->len = size;
|
||||
s->curr_offset = 0;
|
||||
s->leaked_allocations.allocator = s->backup_allocator;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user