mirror of
https://github.com/ziglang/zig.git
synced 2026-01-02 03:25:01 +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.