Comment

Comment by spc476

And he didn't get all the details right.

    realloc(valid_pointer,0);
IS defined (in C89 no less) to act like free(). It is NOT operating system dependent.
parent spc476 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton