[fpc-devel] compile time memory leak detection

Marco van de Voort marcov at stack.nl
Tue Jan 19 09:59:22 CET 2010


In our previous episode, ik said:
> There are sometimes way to "see" that you have memory leak in a code without
> using any sort of profiler.
> For example using new/getmem on a local variable without releasing it etc...
> 
> Does FPC know how to find this places on compile time and at least issue a
> warning about it ?

Is this a suitable task for a compiler? Maybe it is a task better suited to
an external profiler.



More information about the fpc-devel mailing list