We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code crashes with null pointer dereference:
const std = @import("std"); const heap = std.heap; pub fn main() !void { var direct_allocator = heap.DirectAllocator.init(); defer direct_allocator.deinit(); var direct = direct_allocator.allocator; var arena_allocator = heap.ArenaAllocator.init(&direct); defer arena_allocator.deinit(); var arena = arena_allocator.allocator; var buf = try arena.alloc(u8, 10); }
The text was updated successfully, but these errors were encountered:
This is #591
Sorry, something went wrong.
No branches or pull requests
This code crashes with null pointer dereference:
The text was updated successfully, but these errors were encountered: