From 72314563d980bf3d45b63620ed7794ceabba41a4 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 13 Sep 2024 18:21:02 +0200 Subject: [PATCH] FpDebug: fix memleak in function eval --- components/fpdebug/fpdbgcontroller.pas | 1 - 1 file changed, 1 deletion(-) diff --git a/components/fpdebug/fpdbgcontroller.pas b/components/fpdebug/fpdbgcontroller.pas index 7a06444c35..59fc0cea11 100644 --- a/components/fpdebug/fpdbgcontroller.pas +++ b/components/fpdebug/fpdbgcontroller.pas @@ -2222,7 +2222,6 @@ begin exit; Context := TFpDbgInfoCallContext.Create(ABaseContext, AMemReader, MemModel, AMemConverter, FCurrentProcess, FCurrentThread); - Context.AddReference; InitializeCommand(TDbgControllerCallRoutineCmd.Create(self, FunctionAddress, Context)); Result := Context; end;