mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 08:59:32 +02:00
ide: fix mem leak
git-svn-id: trunk@14889 -
This commit is contained in:
parent
8668735887
commit
45b2451fb2
@ -552,8 +552,7 @@ begin
|
||||
+'_'+CurComponent.ComponentClass.ClassName;
|
||||
// Left and Top will be set in ReAlignButtons.
|
||||
SetBounds(Left,Top,ComponentPaletteBtnWidth,ComponentPaletteBtnHeight);
|
||||
Glyph := TBitmap.Create;
|
||||
Glyph.Assign(CurComponent.Icon);
|
||||
Glyph := CurComponent.Icon;
|
||||
GroupIndex := 1;
|
||||
Flat := true;
|
||||
OnClick := @ComponentBtnClick;
|
||||
|
Loading…
Reference in New Issue
Block a user