mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 11:19:36 +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;
|
||||
while p^.Next<>HeapPtr do
|
||||
p:=p^.Next;
|
||||
PTinyHeapBlock(HeapPtr)^.Next:=AAddress;
|
||||
PTinyHeapBlock(p)^.Next:=AAddress;
|
||||
end;
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user