diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 40a18ba..b6553dd 100644 --- a/src/main.zig +++ b/src/main.zig @@ -47,6 +47,7 @@ pub fn main(init: std.process.Init) !void { const stdout = std.Io.File.stdout(); while (try runtime.next()) |result| { + defer result.deinit(allocator); const output = try jv.stringify(allocator, result); defer allocator.free(output); try stdout.writeStreamingAll(init.io, output); |
