FpDebug: nil check, in case of corrupted debug info

git-svn-id: trunk@59779 -
This commit is contained in:
martin 2018-12-10 21:10:07 +00:00
parent 739388038a
commit fec2f4c39e

View File

@ -1013,6 +1013,7 @@ begin
if ASym.SymbolType = stValue then begin
Result := ASym.Value;
if Result <> nil then
Result.AddReference{$IFDEF WITH_REFCOUNT_DEBUG}(@FlastResult, 'FindSymbol'){$ENDIF};
end
else begin