0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/debug
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
..
Dwarf std.Threaded: replace more kernel32 functions with ntdll 2026-02-07 00:02:50 -05:00
SelfInfo Arena allocates text 2026-04-13 01:30:14 -07:00
Coverage.zig std: remove default values from ArrayList 2026-03-10 10:26:08 +00:00
cpu_context.zig std.debug.cpu_context: add loongarch32-linux support 2026-03-19 19:53:03 +01:00
Dwarf.zig Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
ElfFile.zig Revert "compiler: override debug_io in release + evented mode" 2026-02-11 10:44:04 -08:00
Info.zig std.debug.Info: make Mach-O source location resolution more resilient 2026-03-20 17:19:28 +01:00
MachOFile.zig Support ld64.ldd STABS layout in MachOFile.load 2026-04-12 01:23:17 +02:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig Audit usages of toOwnedSlice (#32001) 2026-04-22 19:35:46 +02:00
simple_panic.zig std.debug: fix simple_panic 2025-12-23 22:15:11 -08:00