mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:27:56 +02:00
* fixes issue 40695
This commit is contained in:
parent
6e03b24701
commit
2273670aad
@ -220,6 +220,8 @@ procedure TDeque.ClearData;
|
||||
var
|
||||
i: SizeInt;
|
||||
begin
|
||||
if Length(FData)=0 then
|
||||
exit;
|
||||
if IsManagedType(T) then
|
||||
for i := Low(FData) to High(FData) do
|
||||
Finalize(FData[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user