From e4b14d5f48dcb573fe0fa2a3913b42ff1917e117 Mon Sep 17 00:00:00 2001 From: Jordan Russell Date: Sun, 17 Nov 2024 04:09:11 -0600 Subject: [PATCH] TNewTabSet: Fix memory leaks. --- Components/NewTabSet.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Components/NewTabSet.pas b/Components/NewTabSet.pas index 6f06ba2d7..793f3e080 100644 --- a/Components/NewTabSet.pas +++ b/Components/NewTabSet.pas @@ -198,7 +198,9 @@ procedure TNewTabSet.CreateWnd; destructor TNewTabSet.Destroy; begin UpdateThemeData(False); + FHints.Free; FTabs.Free; + FCloseButtons.Free; inherited; end;