[fpc-devel] patch for classes.inc: free items of InitHandlerList
vsnijders at quicknet.nl
Wed Apr 27 10:25:29 CEST 2005
Vincent Snijders wrote:
> Attached patch frees the items of the InitHandlerList. The items are
> allocated in RegisterInitComponentHandler, but never seem to be freeed.
> Heaptrc showed a memleak, when you ran lazarus with the cgi package
Further testing showed that the patch contained a bug. InitHandlerList
might not be created at all. Attached patch corrects also this case.
Sorry for the confusion.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the fpc-devel