remove no-longer-valid defer

This commit is contained in:
Andrew Kelley 2020-02-23 01:05:39 -05:00
parent 767f041068
commit 94c3dbf9e3
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -38,7 +38,6 @@ pub fn getEnvMap(allocator: *Allocator) !BufMap {
if (builtin.os == .windows) {
const ptr = os.windows.peb().ProcessParameters.Environment;
defer os.windows.FreeEnvironmentStringsW(ptr);
var i: usize = 0;
while (ptr[i] != 0) {