From 764dae935a73e1e4b68e2021e1f164eff4287c7a Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 3 Nov 2019 17:05:42 +0000 Subject: [PATCH] FpDebug: Fix leak on Linux / Thread objects were not always released git-svn-id: trunk@62176 - --- components/fpdebug/fpdbglinuxclasses.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/fpdebug/fpdbglinuxclasses.pas b/components/fpdebug/fpdbglinuxclasses.pas index 5cde2434c5..510f15fed1 100644 --- a/components/fpdebug/fpdbglinuxclasses.pas +++ b/components/fpdebug/fpdbglinuxclasses.pas @@ -522,6 +522,7 @@ begin else if wifexited(AWaitedStatus) and (ID <> Process.ProcessID) then begin Process.RemoveThread(ID); // Done, no postpone + Self.Free; end else