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; }