Hacker News new | ask | show | jobs
by leif 5142 days ago
The upside to calling free() is that it is a valuable lesson in understanding memory lifetimes for a beginner programmer. You can't know when it's good to omit free until you know what it means.