| author | |
| committer | |
| log | 94c3dbf9e3f9fcc63b2495adec36e6b4acb1813e |
| tree | a9ca11c601631de614c0fdca478f730a2cc4dc01 |
| parent | 767f041068369af021aaca421e8b31ce3aaae631 |
| signature |
1 files changed, 0 insertions(+), 1 deletions(-)
lib/std/process.zig-1| ... | @@ -38,7 +38,6 @@ pub fn getEnvMap(allocator: *Allocator) !BufMap { | ... | @@ -38,7 +38,6 @@ pub fn getEnvMap(allocator: *Allocator) !BufMap { |
| 38 | 38 | ||
| 39 | if (builtin.os == .windows) { | 39 | if (builtin.os == .windows) { |
| 40 | const ptr = os.windows.peb().ProcessParameters.Environment; | 40 | const ptr = os.windows.peb().ProcessParameters.Environment; |
| 41 | defer os.windows.FreeEnvironmentStringsW(ptr); | ||
| 42 | 41 | ||
| 43 | var i: usize = 0; | 42 | var i: usize = 0; |
| 44 | while (ptr[i] != 0) { | 43 | while (ptr[i] != 0) { |