* Patch from Andrey Sobol to fix memleak

git-svn-id: trunk@47799 -
This commit is contained in:
michael 2020-12-17 15:18:02 +00:00
parent 4235d2ce3d
commit 034048e09d

View File

@ -435,7 +435,15 @@ initialization
finalization
if Assigned(LocTransforms) then
begin
while LocTransforms.Count > 0 do
begin
if Assigned(PITSFTranformItem(LocTransforms.Items[0])^.Instance) then
(PITSFTranformItem(LocTransforms.Items[0])^.Instance).Free;
LocTransforms.Delete(0);
end;
LocTransforms.Free;
end
end.