mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 11:18:10 +02:00
FpDebug: fix memleak in function eval
This commit is contained in:
parent
4621061aae
commit
72314563d9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user