mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-25 06:50:42 +01:00
customdrawn: Fixes a memory leak
git-svn-id: trunk@33933 -
This commit is contained in:
parent
06b32bf839
commit
0ac4424d78
@ -489,6 +489,7 @@ destructor TCDDrawer.Destroy;
|
||||
begin
|
||||
FreeResources;
|
||||
Palette.Free;
|
||||
FallbackPalette.Free;
|
||||
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user