| ... | @@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 { | ... | @@ -504,7 +504,7 @@ pub fn getEnvVarOwned(allocator: &mem.Allocator, key: []const u8) -> %[]u8 { |
| 504 | } | 504 | } |
| 505 | } else { | 505 | } else { |
| 506 | const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound; | 506 | const result = getEnvPosix(key) ?? return error.EnvironmentVariableNotFound; |
| 507 | return mem.dupe(u8, allocator, result); | 507 | return mem.dupe(allocator, u8, result); |
| 508 | } | 508 | } |
| 509 | } | 509 | } |
| 510 | | 510 | |