mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 10:36:20 +02:00
LazDebuggFpLldb: fix freeing an uninitialized object. (Locals dlg)
git-svn-id: trunk@64358 -
This commit is contained in:
parent
4f5bfef839
commit
809ce9c782
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user