# Update default stack frames for general_purpose_allocator.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: f74e10cd4722512ac671f574b3d274ab48abb1a7

Requested commit: f74e10cd4722512ac671f574b3d274ab48abb1a7

Commit: f74e10cd4722512ac671f574b3d274ab48abb1a7

Tree: a2cf1f798c7f4dc7375efd70d94fc0d82f254838

Author: Gregory Mullen

Committer: Andrew Kelley

## Message

```
Update default stack frames for general_purpose_allocator.zig

Created from a conversation with  @andrewrk on irc: Memory leaks when using ArrayList can be inconvenient to debug when the stack frame size is 4 because the entirety of the printed frame is within zig stdlib, and not in the users calling stack. Increasing this to 6 for Debug builds, gives 2 frames of user code. I increased the frame size for tests as well by the equivalent factor, but I'm unconvinced that's actually desirable.
```

## Parents

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

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