[fpc-devel] fpTimer causes memory leaks

Vincent Snijders vsnijders at vodafonevast.nl
Fri Aug 14 12:43:04 CEST 2009


Graeme Geldenhuys schreef:
> Hi,
> 
> I just wanted to warn you guys that the fpTimer.pp unit causes memory
> leaks. It was originally based on my code (which I still have). I first
> tried with the TFPTimer included in FCL and got memory leaks. I then
> tried my original version which TFPTimer is based on, and I don't get
> memory leaks.
> 
> I'll investigate the memory leak issue further to try and see where it
> occurs.
> 

Today on #fpc we were speaking about timers and I refered to the fptimer unit. While 
I checked in the svn logs for its initial version (was it in fpc 2.2.2 or not), I 
saw no update. Was there a memory leak in this unit or is this thread a false alarm.

Vincent



More information about the fpc-devel mailing list