* while loop replaced with a repeat..until loop in InternalTinyFreeMem

git-svn-id: trunk@28161 -
This commit is contained in:
nickysn 2014-07-05 09:47:59 +00:00
parent 441e6c6083
commit 4e2cc365d1

View File

@ -105,9 +105,7 @@
b, p, prev: PTinyHeapBlock;
concatenated: boolean;
begin
concatenated := true;
while concatenated do
begin
repeat
concatenated := false;
b := addr;
@ -170,7 +168,7 @@
TinyHeapBlocks := b;
end;
end;
end;
until not concatenated;
end;
function SysTinyFreeMem(Addr: Pointer): ptruint;