0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Build
andrew.kraevskii bbab366b78 Audit usages of toOwnedSlice (#32001)
Followup to #30769

I grepped for `try .*toOwnedSlice` and checked all of them by hand.

Fixes a bunch of memory leaks removes usages or `errdefer` and `vars` in some places. I also switched array_list.Managed to ArrayList where it was convenient.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/32001
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
History 2026-04-22 19:35:46 +02:00
..
Cache std: rename other Dir "make" functions to "create" 2025-12-23 22:15:11 -08:00
Step Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
Watch Io.Dispatch: introduce grand central dispatch io impl 2026-02-13 12:29:40 -05:00
abi.zig multiprocess fuzzing 2026-04-03 12:27:34 +02:00
Cache.zig Prefer <err> => |e| return e over <err> => return <err> 2026-04-20 18:03:14 -07:00
Fuzz.zig multiprocess fuzzing 2026-04-03 12:27:34 +02:00
Module.zig std.Build.Module: fix dangling slice in dynamic linker arg 2026-04-02 15:19:14 +02:00
Step.zig Prefer <err> => |e| return e over <err> => return <err> 2026-04-20 18:03:14 -07:00
Watch.zig windows: use enums for boolean types 2026-03-20 02:25:16 +01:00
WebServer.zig Prefer <err> => |e| return e over <err> => return <err> 2026-04-20 18:03:14 -07:00