From 809ce9c782ca02af794a8cbaddb6df6a53bb41ce Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 8 Jan 2021 23:07:53 +0000 Subject: [PATCH] LazDebuggFpLldb: fix freeing an uninitialized object. (Locals dlg) git-svn-id: trunk@64358 - --- components/lazdebuggers/lazdebuggerfplldb/fplldbdebugger.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lazdebuggers/lazdebuggerfplldb/fplldbdebugger.pas b/components/lazdebuggers/lazdebuggerfplldb/fplldbdebugger.pas index c51951a757..d6d89d5c4e 100644 --- a/components/lazdebuggers/lazdebuggerfplldb/fplldbdebugger.pas +++ b/components/lazdebuggers/lazdebuggerfplldb/fplldbdebugger.pas @@ -418,6 +418,7 @@ begin FpDebugger.LockUnLoadDwarf; Ctx := FpDebugger.GetInfoContextForContext(ALocals.ThreadId, ALocals.StackFrame); + ProcVal := nil; try if (Ctx = nil) or (Ctx.SymbolAtAddress = nil) then begin ALocals.SetDataValidity(ddsInvalid);