fixed memleak

git-svn-id: trunk@9092 -
This commit is contained in:
mattias 2006-04-09 18:38:38 +00:00
parent 05155ece5f
commit 54d1f90494

View File

@ -367,6 +367,10 @@ end;
destructor TCustomButtonPanel.Destroy;
begin
FreeAndNil(FCancelGlyph);
FreeAndNil(FCloseGlyph);
FreeAndNil(FHelpGlyph);
FreeAndNil(FOKGlyph);
inherited Destroy;
end;