diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 11:14:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 11:14:06 +0900 |
| commit | 6687a3fc112581e88f4f568bc509af0c09ba87d0 (patch) | |
| tree | 0e1f4d2fa5d7a7b10c0601b9f83417c8d9160ef0 | |
| parent | e18164962b45c549ea8b9d663d5148d90b071337 (diff) | |
| download | zgjq-main.tar.gz zgjq-main.tar.zst zgjq-main.zip | |
| -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); |
