3 ms·
The operating system handles this for you on process deletion. Lots of “one shot” programs count on this (and (e.g.) file descriptors being automatically closed
by bch 7y ago
The operating system handles this for you on process deletion. Lots of “one shot” programs count on this (and (e.g.) file descriptors being automatically closed).
- smlckz 7y agoSo, should I not care about that so much, and write programs without free()'ing allocated memory? If OSes do that, why not standardize that in C?