ref: rename gpa usages to the aliased DebugAllocator

This commit is contained in:
2025-06-11 20:31:41 +02:00
parent 76f708d9d7
commit 825fb63bc8
13 changed files with 17 additions and 14 deletions

View File

@@ -57,7 +57,7 @@ pub fn main() !void {
errdefer |err| log.err("Application Error: {any}", .{err});
// TODO maybe create own allocator as some sort of arena allocator to have consistent memory usage
var gpa: std.heap.GeneralPurposeAllocator(.{}) = .init;
var gpa: std.heap.DebugAllocator(.{}) = .init;
defer {
const deinit_status = gpa.deinit();
if (deinit_status == .leak) {