diff options
| author | daurnimator <quae@daurnimator.com> | 2019-05-05 23:17:23 +1000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-05-11 09:55:41 -0400 |
| commit | 3d93c89fc55a428171bbfa779fb604801d84421d (patch) | |
| tree | 3f01ec200b694e8facc4a27abc17998f3819f50a /src/util.cpp | |
| parent | 6756e545f40dc7de373186a6581594e07bfd8200 (diff) | |
| download | zig-3d93c89fc55a428171bbfa779fb604801d84421d.tar.gz zig-3d93c89fc55a428171bbfa779fb604801d84421d.zip | |
std: the failing allocator didn't actually count allocations
Add a field '.allocations' to actually track the number of allocations.
Additionally, only increment '.deallocations' when memory is freed
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions
