Commit dd92d76
fix(cloud-tools): add defer free for stdout allocation (#173)
Add defer std.heap.page_allocator.free(stdout) after readToEndAlloc
to fix memory leak in runTriCloud() function that occurred on every
MCP tool call.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c16ed8f commit dd92d76
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments