diff options
-rw-r--r-- | src/znk.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/znk.zig b/src/znk.zig index e59f11d..1c2898b 100644 --- a/src/znk.zig +++ b/src/znk.zig | |||
@@ -40,7 +40,7 @@ pub fn main() anyerror!void { | |||
40 | var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){}; | 40 | var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){}; |
41 | defer std.debug.assert(!general_purpose_allocator.deinit()); | 41 | defer std.debug.assert(!general_purpose_allocator.deinit()); |
42 | const gpa = &general_purpose_allocator.allocator; | 42 | const gpa = &general_purpose_allocator.allocator; |
43 | 43 | ||
44 | var arena_instance = std.heap.ArenaAllocator.init(gpa); | 44 | var arena_instance = std.heap.ArenaAllocator.init(gpa); |
45 | defer arena_instance.deinit(); | 45 | defer arena_instance.deinit(); |
46 | const arena = &arena_instance.allocator; | 46 | const arena = &arena_instance.allocator; |