Testing my project with the test allocator I get a reported memory leak originating from this line: (root.zig:143)
self.error_info = ErrorInfo{ .struct_mapping = try self.alloc.dupe([]const u8, mapping_ctx.field_path.items) }; // i suspect this might leak memory (the outer array is copied, but not inner ones). But it doesn't seem to leak. Strange.
I can try to create a minimal example if you'd like.
Version Info
- zig version: 0.15.2
zig-toml version: last-zig-0.14.1 (Commit d65ed60)
Testing my project with the test allocator I get a reported memory leak originating from this line: (
root.zig:143)I can try to create a minimal example if you'd like.
Version Info
zig-tomlversion:last-zig-0.14.1(Commitd65ed60)