mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 03:49:19 +02:00
Reset class fields FList and FHashList to nil after Destroy call
git-svn-id: trunk@34078 -
This commit is contained in:
parent
e68b8467b6
commit
b3063b7db2
@ -1027,6 +1027,7 @@ begin
|
||||
begin
|
||||
Clear;
|
||||
FList.Destroy;
|
||||
FList:=nil;
|
||||
end;
|
||||
inherited Destroy;
|
||||
end;
|
||||
@ -1842,6 +1843,7 @@ begin
|
||||
begin
|
||||
Clear;
|
||||
FHashList.Destroy;
|
||||
FHashList:=nil;
|
||||
end;
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user