-
Notifications
You must be signed in to change notification settings - Fork 242
Use checked allocator #3673
New issue
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
Use checked allocator #3673
Conversation
This will help us discover leaks in the allocator
2b5f8ca to
ea71e1f
Compare
|
🤖 Meticulous spotted visual differences in 3 of 269 screens tested: view and approve differences detected. Last updated for commit d5e7f80. This comment will update as new commits are pushed. |
metalmatze
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, definitely needed! 💯
defer mem.AssertSize(t, 0) is pretty cool.
|
Can we rename |
Uses a checked allocator throughout unit tests.
This exposed some allocation leaks that were fixed as well.