The article discusses a "memory leak" encountered by the author while using Zig's FixedBufferAllocator.
- Zig or Ziglang is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
- The article explains how the allocator is implemented like a bump pointer allocator and is meant to be used like a stack (Last In, First Out).
- Deviating from this usage can lead to a space leak.
- The article suggests ways to fix the issue, such as using a different allocator or using two buffers.
















