| ... | @@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A | ... | @@ -731,7 +731,7 @@ pub fn getAddressList(allocator: mem.Allocator, name: []const u8, port: u16) !*A |
| 731 | break :blk result; | 731 | break :blk result; |
| 732 | }; | 732 | }; |
| 733 | const arena = result.arena.allocator(); | 733 | const arena = result.arena.allocator(); |
| 734 | errdefer result.arena.deinit(); | 734 | errdefer result.deinit(); |
| 735 | | 735 | |
| 736 | if (builtin.target.os.tag == .windows or builtin.link_libc) { | 736 | if (builtin.target.os.tag == .windows or builtin.link_libc) { |
| 737 | const name_c = try std.cstr.addNullByte(allocator, name); | 737 | const name_c = try std.cstr.addNullByte(allocator, name); |