-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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-tomlversion:last-zig-0.14.1(Commitd65ed60)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels