I remember Casey explaining how it's not necessary to free memory before exiting an application because the operating system does that for us. Did I understand that correctly? Is this always true?
I'm taking a short cut to be able to get started on my application so I'm using SDL, but every tutorial I've ever seen (even the wiki) says that I need to call the following just before returning from the main function:
1 2 3 4 5
// Destroy window SDL_DestroyWindow(window); //Quit SDL subsystems SDL_Quit();
But that should not be needed then?
/Robert from Sweden