# std.heap.GeneralPurposeAllocator: fix large alloc accounting · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/601f632c274cee4e8b9780c436be0771d856ade0)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 601f632c274cee4e8b9780c436be0771d856ade0

Requested commit: 601f632c274cee4e8b9780c436be0771d856ade0

Commit: 601f632c274cee4e8b9780c436be0771d856ade0

Tree: c9027773ff90fc4f3e3cad8a15c0d50a19a2cd56

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.heap.GeneralPurposeAllocator: fix large alloc accounting

when mremap relocates an allocation

```

## Parents

- [becd16859dbc9d6357099f660408b54d00aa18ef](https://git.cafe/gitcafe/zig/commit/becd16859dbc9d6357099f660408b54d00aa18ef?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/601f632c274cee4e8b9780c436be0771d856ade0?format=markdown)
