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

@@ -27,7 +27,7 @@ const QuitText = struct {
pub fn main() !void {
errdefer |err| log.err("Application Error: {any}", .{err});
var gpa: std.heap.GeneralPurposeAllocator(.{}) = .init;
var gpa: std.heap.DebugAllocator(.{}) = .init;
defer if (gpa.deinit() == .leak) log.err("memory leak", .{});
const allocator = gpa.allocator();