mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-14 10:29:42 +01:00
FpDebug: nil check, in case of corrupted debug info
git-svn-id: trunk@59779 -
This commit is contained in:
parent
739388038a
commit
fec2f4c39e
@ -1013,6 +1013,7 @@ begin
|
|||||||
|
|
||||||
if ASym.SymbolType = stValue then begin
|
if ASym.SymbolType = stValue then begin
|
||||||
Result := ASym.Value;
|
Result := ASym.Value;
|
||||||
|
if Result <> nil then
|
||||||
Result.AddReference{$IFDEF WITH_REFCOUNT_DEBUG}(@FlastResult, 'FindSymbol'){$ENDIF};
|
Result.AddReference{$IFDEF WITH_REFCOUNT_DEBUG}(@FlastResult, 'FindSymbol'){$ENDIF};
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user