Fix leak detector message formatting
This commit is contained in:
parent
e71048e83d
commit
894dabb2c4
|
@ -159,7 +159,7 @@ pub fn trace_leaks() void {
|
||||||
var current_node = context.head;
|
var current_node = context.head;
|
||||||
|
|
||||||
while (current_node) |node| : (current_node = node.next) {
|
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,
|
node.size,
|
||||||
@intFromPtr(node) + @sizeOf(AllocationNode),
|
@intFromPtr(node) + @sizeOf(AllocationNode),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue