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

Florian Klaempfl florian at freepascal.org
Thu Apr 28 11:16:07 CEST 2005


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

Applied.




More information about the fpc-devel mailing list