* Use FreeAndNil to clear field

This commit is contained in:
Michaël Van Canneyt 2021-08-29 13:02:45 +02:00
parent bfa0c60e77
commit 56c3b5b2cd

View File

@ -539,8 +539,7 @@ end;
destructor TFPHTTPServerConnectionListHandler.Destroy; destructor TFPHTTPServerConnectionListHandler.Destroy;
begin begin
FList.Free; FreeAndNil(FList);
inherited Destroy; inherited Destroy;
end; end;