News for hackers. Stuff that matters.
Re:Perhaps Rust Needs "Defer" by cross on Thursday November 07, 2024 @02:13PM (#42079837)
> If you've been doing C for five decades, it's a shame not to have noticed that it's totally fine to pass a NULL pointer to free().

Or that calling one's FFI function inside of an `assert` means it will be compiled out if the `NDEBUG` macro is defined.

There are no comments on this comment yet.