mirror of
https://github.com/ziglang/zig.git
synced 2026-01-30 03:03:46 +00:00
fix memory leak in NativePaths.zig
This commit is contained in:
parent
7f0642b5d3
commit
79757f233d
@ -109,6 +109,8 @@ pub fn detect(allocator: Allocator, native_info: NativeTargetInfo) !NativePaths
|
||||
|
||||
if (native_target.os.tag != .windows) {
|
||||
const triple = try native_target.linuxTriple(allocator);
|
||||
defer allocator.free(triple);
|
||||
|
||||
const qual = native_target.cpu.arch.ptrBitWidth();
|
||||
|
||||
// TODO: $ ld --verbose | grep SEARCH_DIR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user