authorgravatar for m@c0.pemarximimus <m@c0.pe> 2026-08-17 12:40:47+02:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-08-28 09:45:15+02:00
log5a625d5f3cb094242e6a310082c74f1b6461d606
tree41c2500ad268a7059f5065ae8b88234463af5ce9
parent15435597d9a0505b93c3b7ffd3f3f95be5fa31f0

fix memory leak in StackIterator

partial fix for #36533

1 files changed, 1 insertions(+), 0 deletions(-)

lib/std/debug.zig+1
......@@ -1100,6 +1100,7 @@ const StackIterator = union(enum) {
11001100 const ret_addr = di.unwindFrame(io, unwind_context) catch |err| {
11011101 const pc = unwind_context.pc;
11021102 const fp = unwind_context.getFp();
1103 unwind_context.deinit();
11031104 it.* = .{ .fp = fp };
11041105 return .{ .switch_to_fp = .{
11051106 .address = pc,