freeing memory on exit
Thursday, May 22nd, 2008Back when I was a TA, I found that a few people had a very curious misconception. In C++, they thought, if you never deleted an object, that object would never ever get freed until you restarted your computer. Basically, that a memory leak is memory that is lost and gone forever (for all intents and purposes).
