mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-22 16:28:15 +02:00
FPDebug: fix calling nil object
git-svn-id: trunk@43428 -
This commit is contained in:
parent
ad449adbc0
commit
27e3b15e2e
@ -3174,7 +3174,7 @@ begin
|
|||||||
if ti <> nil then begin
|
if ti <> nil then begin
|
||||||
Result := ti.MemberByName[AIndex];
|
Result := ti.MemberByName[AIndex];
|
||||||
FLastChildByName := Result;
|
FLastChildByName := Result;
|
||||||
if FLastChildByName <> nil
|
if FLastChildByName <> nil then
|
||||||
FLastChildByName.AddReference;
|
FLastChildByName.AddReference;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user