mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 03:06:34 +02:00
* Use FreeAndNil to clear field
This commit is contained in:
parent
bfa0c60e77
commit
56c3b5b2cd
@ -539,8 +539,7 @@ end;
|
|||||||
|
|
||||||
destructor TFPHTTPServerConnectionListHandler.Destroy;
|
destructor TFPHTTPServerConnectionListHandler.Destroy;
|
||||||
begin
|
begin
|
||||||
FList.Free;
|
FreeAndNil(FList);
|
||||||
|
|
||||||
inherited Destroy;
|
inherited Destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user