≈ the.bay.news

reader.appendRemainingUnlimited memory leak

Ziggit
reader.appendRemainingUnlimited memory leak
In my understanding output.toOwnedSlice(gpa) should be freeing output’s memory allocation. And the decomp reader doesn’t allocate anything internally. What am I missing here? pub fn main(init: std.process.Init) !void { var _gpa = std.heap.DebugAllocator(.{ .stack_trace_frames = 100 }).init; const gpa = _gpa.allocator(); // const gpa = init.gpa; // deflate const files = [3][]const u8{ &embed.index_ov2640_html_gz, &embed.index_ov3660_html_gz, &embed....

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.