diff options
| author | dweiller <4678790+dweiller@users.noreplay.github.com> | 2023-06-08 13:30:28 +1000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-13 10:57:11 -0700 |
| commit | 28eed1f7b3a8654b941960232d7c707d88649d8d (patch) | |
| tree | c6a46ecebdc3594ff324eec170b92572cc549a49 /src/Module.zig | |
| parent | 8cf72cdfb13409aad9a5e2abc125a516e13c3aa6 (diff) | |
| download | zig-28eed1f7b3a8654b941960232d7c707d88649d8d.tar.gz zig-28eed1f7b3a8654b941960232d7c707d88649d8d.zip | |
std.mem.ValidationAllocator: forward free() calls
Failing to forward free calls to the underlying allocator makes
`ValidationAllocator` unusable for testing allocators while checking for
leaks. This change allows allocators that wrap `std.testing.allocator`
to be tested with `std.heap.testAllocator()` in test decls without
reporting erroneous leaks.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
