[fpc-devel] patch for classes.inc: free items of InitHandlerList

Vincent Snijders vsnijders at quicknet.nl
Wed Apr 27 10:25:29 CEST 2005


Vincent Snijders wrote:
> Hi,
> 
> 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 
> installed.
> 

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.

Regards,
Vincent.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtl.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050427/e1fd132c/attachment.ksh>


More information about the fpc-devel mailing list