Comment by EPWN3D
7 days ago
Yeah here's a trivial one.
void *__free p = NULL;
func(&p); // func zeroes p to claim ownership
// end of scope, p is NULL, nothing happens // if func was not called, p is freed
7 days ago
Yeah here's a trivial one.
void *__free p = NULL;
func(&p); // func zeroes p to claim ownership
// end of scope, p is NULL, nothing happens // if func was not called, p is freed
No comments yet
Contribute on Hacker News ↗