LazDebuggFpLldb: fix freeing an uninitialized object. (Locals dlg)

git-svn-id: trunk@64358 -
This commit is contained in:
martin 2021-01-08 23:07:53 +00:00
parent 4f5bfef839
commit 809ce9c782

View File

@ -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);