Original Post
What if you write a program with a lot of dynamic memory and then it crashes before the destructors can de-allocate all the memory? Does the OS know what's up and free it? Or is it gone forever until you reboot?