mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 22:49:34 +02:00
parent
0d5000d329
commit
a8c6095677
@ -218,6 +218,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