Simple code analyzer

code-analysis, delphi, memory-leaks

Solution

This is built into Delphi's memory manager (FastMM). Set `ReportMemoryLeaksOnShutdown` true. You can also use the "full debug" version of the memory manager for more detailed checks and information.

Problem

Need a simple code analyzer to see if I am forgetting to free objects and classes, or to see if I am releasing them to many times.

Original source