mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 01:49:25 +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;
|
FpDebugger.LockUnLoadDwarf;
|
||||||
Ctx := FpDebugger.GetInfoContextForContext(ALocals.ThreadId, ALocals.StackFrame);
|
Ctx := FpDebugger.GetInfoContextForContext(ALocals.ThreadId, ALocals.StackFrame);
|
||||||
|
ProcVal := nil;
|
||||||
try
|
try
|
||||||
if (Ctx = nil) or (Ctx.SymbolAtAddress = nil) then begin
|
if (Ctx = nil) or (Ctx.SymbolAtAddress = nil) then begin
|
||||||
ALocals.SetDataValidity(ddsInvalid);
|
ALocals.SetDataValidity(ddsInvalid);
|
||||||
|
Loading…
Reference in New Issue
Block a user