# std: GeneralPurposeAllocator: set freed bytes to undefined · gitcafe/zig

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

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

Visibility: public

Requested revision: 6fb105fdd7798dc988de09a7b6709c5168355dfa

Requested commit: 6fb105fdd7798dc988de09a7b6709c5168355dfa

Commit: 6fb105fdd7798dc988de09a7b6709c5168355dfa

Tree: 1c8489750384cd40b1e250be76d5c4595fbd4f63

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: GeneralPurposeAllocator: set freed bytes to undefined

Helps catch use-after-free. Caught a couple issues in the self-hosted
compiler.

```

## Parents

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

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