From a8025f6ec212f622e62930381654a9b7d3c1e922 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 27 Feb 2023 11:55:04 -0800 Subject: [PATCH] termio: env should not freed because arena gets it --- src/termio/Exec.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 3f5246ab7..b55167dd6 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -434,7 +434,6 @@ const Subprocess = struct { /// Clean up the subprocess. This will stop the subprocess if it is started. pub fn deinit(self: *Subprocess) void { self.stop(); - self.env.deinit(); self.arena.deinit(); self.* = undefined; }