We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c59ba7b + 5ab6cd4 commit 55991c9Copy full SHA for 55991c9
1 file changed
tools/mcp/trinity_mcp/cloud_tools.zig
@@ -86,6 +86,7 @@ fn runTriCloud(buf: *[MAX_OUTPUT]u8, args: []const []const u8) []const u8 {
86
const stdout = child.stdout.?.readToEndAlloc(std.heap.page_allocator, MAX_OUTPUT) catch {
87
return copyToBuf(buf, "Error: Failed to read output");
88
};
89
+ defer std.heap.page_allocator.free(stdout);
90
91
_ = child.wait() catch {};
92
0 commit comments