> Do you know of any tools I can use to check for memory leaks on my code?
> 
> I'm using FPC 1.1 snapshots under Win2k.

Compile using -gh, and check the output after termination. It will give the unitname 
and line
where the memory was allocated.

There are only a few gotcha's (sometimes memory allocated in the RTL startup is not 
released
when the memorychecker terminates. So if you have mem leaks at the "start" of the 
program,
ignore them)
_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to