0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
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
..
build-web Reverts renaming of builtin.StackTrace -> ErrorReturnTrace 2026-04-12 04:01:30 -07:00
c zigc: test and fix strtol and similar 2026-04-22 19:30:39 +02:00
compiler Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
compiler_rt Revert "compiler-rt: disable some limb64 tests on some big-endian targets" 2026-04-18 18:47:29 +02:00
docs Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
include remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
init rework fuzz testing to be smith based 2026-02-13 22:12:19 -05:00
libc libc: update Linux headers to 7.0 2026-04-22 08:37:15 +02:00
libcxx libcxx: use compiler's _LIBCPP_HAS_LIBRARY_ALIGNED_ALLOCATION when set 2025-11-14 02:02:59 +01:00
libcxxabi remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libtsan remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libunwind remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
std Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
c.zig feat(libzigc): add common implementations of pthread_spin_* 2026-04-21 09:03:06 +02:00
compiler_rt.zig stage2-wasm: start big int support 2026-04-02 15:48:43 +02:00
fuzzer.zig fuzz: don't err if .zig-cache/tmp doesn't exist 2026-04-20 01:20:52 +02:00
ubsan_rt.zig std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
zig.h feat: init eZ80 arch via CBE 2026-04-16 19:21:16 +02:00