LL082
Free without nil check
Object Pascal — Delphi & Free Pascal
Warning
Reliability
Calling
calling .Free on a potentially nil variable causes an access violation.
Why this severity
calling .Free on a potentially nil variable causes an access violation.
Known false positives
variables guaranteed non-nil because they were just created in the same scope.
Remediation example
FreeAndNil(FStream); // or: if Assigned(FStream) then FStream.Free;