NiceSidebar: Fix memory leak, GitLab issue #39075, patch by michalgw

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9419 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-08-24 12:53:07 +00:00
parent 73d812a0b0
commit 90f2ea3fb0

View File

@ -2089,6 +2089,7 @@ end;
destructor TSideBarItemStyle.Destroy;
begin
FDisabledFont.Free;
FNormalFont.Free;
FHoverFont.Free;
FSelectedFont.Free;