News for hackers. Stuff that matters.
Re:Stupid Smart Pointers in C by devit on Tuesday March 18, 2025 @12:08AM (#43395671)
You can just zero out the pointer variable with __attribute__((cleanup)) before returning its value (from a temporary copy of course).

There are no comments on this comment yet.