[Lazarus] mem leak with easy dock manager

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Apr 13 23:28:25 CEST 2010


Martin schrieb:

>>> Adding EasyDock manager to Lazarus, I get the below memory leaks
>>> (with both fpc 2.4.0 and 2.5.1)
>>
>> I removed the image destruction a while ago, to prevent other errors.
> 
> And that means?

This way the app doesn't AV on exit.

> Because the above sounds like "it's an intentional leak"? And I would 
> not want to believe that.

I could not make it work better - see the related comments in 
EasyDockSite.DestroyDockHeaderImages.

There exist more docking-related bugs in the LCL and widgetsets, see the 
LCL TODO list at the begin of EasyDockSite. Since a few weeks another 
bug should be added to this list, since the Win32 widgetset does no more 
properly return the BoundsRect of an undocked form.

DoDi





More information about the Lazarus mailing list