[lazarus] listbox patch

Micha Nelissen micha at neli.hopto.org
Wed Dec 17 06:45:18 EST 2003


Vincent Snijders wrote:
>>-----Oorspronkelijk bericht-----
>>Van: Micha Nelissen [mailto:micha at neli.hopto.org] 
>>Verzonden: maandag 15 december 2003 23:00
>>Vincent Snijders wrote:
>>
>>
>>>Attached patch enables storing objects in a listbox or 
>>
>>checklistbox. 
>>
>>>The problems I predicted with the implementation came true. In some 
>>>applications the destructor of the list called first and after that 
>>>the LCL destroys the handle, sometimes it is the other way 
>>
>>around. I 
>>
>>>think I have captured both cases in the patch.
>>
>>Good work there, the patch looks good. 
> 
> Well, I have to look into this again, because the patch is not good
> enough. Lazarus still leaks a bit of memory when the debugger options
> dialog is used. (Tested both windows 98 and windows 2000). Further

I'd be surprised if this was the only place which is leaking memory ;-).

Micha.






More information about the Lazarus mailing list