Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Huh? Modern OSes will of course free the memory (as well as any other resources) when the process exits.

If you know your program has limited runtime you can treat standard heap allocation functions like an over-engineered arena allocator. :)



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: