diff --git a/source/ona/heap.zig b/source/ona/heap.zig index 8639461..8f5d785 100644 --- a/source/ona/heap.zig +++ b/source/ona/heap.zig @@ -159,7 +159,7 @@ pub fn trace_leaks() void { var current_node = context.head; while (current_node) |node| : (current_node = node.next) { - std.debug.print("{d} byte leak at 0x{x} detected:\n", .{ + std.debug.print("{d} byte leak at 0x{x} detected", .{ node.size, @intFromPtr(node) + @sizeOf(AllocationNode), });