DispatchResult in prompt input processingDispatchResult in prompt input processingFile: src/server/server.zig:1198–1204
Severity: HIGH
Status: ✅ FIXED
In processInput, when evaluating a command from the prompt, dispatch.dispatchCommand returns DispatchResult, but result.deinit() is never called.
Impact: Leaks response strings allocated when executing prompt commands.
Fix: Change declaration to var result = ... and add defer result.deinit();.