From 60dd9514c8676e79c625948b5e9d2c6d745e8e87 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 6 Nov 2026 12:14:58 -0300 Subject: idioms #3, the allocator a function is handed: Handover.carries opens its dump with the caller's gpa, not the page allocator, and Client.follow and stepGlide lose the gpa they never used Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index 68542b3e..5cbfa7f4 100644 --- a/src/main.zig +++ b/src/main.zig @@ -246,7 +246,7 @@ fn waitForDel(gpa: std.mem.Allocator, dial: []const u8, path: []const u8, known: } }; const w: Wait = .{ .gpa = gpa, .dial = dial, .serial = serial }; - ninep_io.Client.follow(gpa, dial, "/log", "follow new", &w, Wait.gone, Wait.deleted) catch std.process.exit(1); + ninep_io.Client.follow(dial, "/log", "follow new", &w, Wait.gone, Wait.deleted) catch std.process.exit(1); std.process.exit(0); } -- cgit v1.3