mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 20:49:23 +02:00
Avoid MSDOS Memory Control Block (MCB) chain corruption in RegisterTinyHeapBlock
git-svn-id: trunk@36340 -
This commit is contained in:
parent
87e8010f05
commit
a16326fa95
@ -577,7 +577,7 @@
|
|||||||
p:=FreeList;
|
p:=FreeList;
|
||||||
while p^.Next<>HeapPtr do
|
while p^.Next<>HeapPtr do
|
||||||
p:=p^.Next;
|
p:=p^.Next;
|
||||||
PTinyHeapBlock(HeapPtr)^.Next:=AAddress;
|
PTinyHeapBlock(p)^.Next:=AAddress;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user