std: remove double free in GPA

Merge conflict between
02a1f838e6
and
885c73f343
This commit is contained in:
Andrew Kelley 2021-12-01 15:19:29 -07:00
parent e4c053f047
commit 70dcdcb73d

View File

@ -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 });
}