diff --git a/lib/std/heap/general_purpose_allocator.zig b/lib/std/heap/general_purpose_allocator.zig index 44417e174a..9900823d5b 100644 --- a/lib/std/heap/general_purpose_allocator.zig +++ b/lib/std/heap/general_purpose_allocator.zig @@ -633,8 +633,6 @@ pub fn GeneralPurposeAllocator(comptime config: Config) type { self.total_requested_bytes -= entry.value_ptr.requested_size; } - if (!config.never_unmap) self.backing_allocator.rawFree(old_mem, old_align, ret_addr); - if (config.verbose_log) { log.info("large free {d} bytes at {*}", .{ old_mem.len, old_mem.ptr }); }