mirror of
https://github.com/ziglang/zig.git
synced 2026-03-13 23:01:22 +00:00
parseString() created a copy of the string using the wrong allocator. Instead of using the ArenaAllocator, it was using the allocator passed into Parser.init(). This lead to a leak as the copied string was not freed when the ArenaAllocator was deinited.