I\'m working on a game with SDL in Visual Studio 2010. I came across the _CrtDumpMemoryLeaks() macro and thought I\'d give it a go. Invoking _CrtDumpMemor
_CrtDumpMemoryLeaks()
_CrtDumpMemor
Check out the piece of code.
Overloading operator new and operator delete to log all memory allocations and deallocations
I identified my memory leaks using this method.