| ... | @@ -96,10 +96,10 @@ pub fn ValidationAllocator(comptime T: type) type { | ... | @@ -96,10 +96,10 @@ pub fn ValidationAllocator(comptime T: type) type { |
| 96 | log2_buf_align: u8, | 96 | log2_buf_align: u8, |
| 97 | ret_addr: usize, | 97 | ret_addr: usize, |
| 98 | ) void { | 98 | ) void { |
| 99 | _ = ctx; | 99 | const self = @ptrCast(*Self, @alignCast(@alignOf(Self), ctx)); |
| 100 | _ = log2_buf_align; | | |
| 101 | _ = ret_addr; | | |
| 102 | assert(buf.len > 0); | 100 | assert(buf.len > 0); |
| | 101 | const underlying = self.getUnderlyingAllocatorPtr(); |
| | 102 | underlying.rawFree(buf, log2_buf_align, ret_addr); |
| 103 | } | 103 | } |
| 104 | | 104 | |
| 105 | pub fn reset(self: *Self) void { | 105 | pub fn reset(self: *Self) void { |