# stage2: fix memory leak in addNonIncrementalStuffToCacheManifest · gitcafe/zig

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

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

Visibility: public

Requested revision: 013c286e432eacbd55a9f842cd277be11f72cc49

Requested commit: 013c286e432eacbd55a9f842cd277be11f72cc49

Commit: 013c286e432eacbd55a9f842cd277be11f72cc49

Tree: aa4fd9ec6d4d89330717b03a162ba0b36a183e79

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix memory leak in addNonIncrementalStuffToCacheManifest

I accidentally used errdefer instead of defer for the function-local
arena.

```

## Parents

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

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