mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* use P/TTinyHeapMemBlockSize in RegisterTinyHeapBlock as well
git-svn-id: trunk@28248 -
This commit is contained in:
parent
6f8a329b4c
commit
9a569b9e57
@ -260,8 +260,8 @@
|
||||
end;
|
||||
if (ASize and 1) <> 0 then
|
||||
Dec(ASize);
|
||||
pptruint(AAddress)^ := ASize - SizeOf(ptruint);
|
||||
FreeMem(pptruint(AAddress) + 1, ASize - SizeOf(ptruint));
|
||||
PTinyHeapMemBlockSize(AAddress)^ := ASize - SizeOf(TTinyHeapMemBlockSize);
|
||||
FreeMem(PTinyHeapMemBlockSize(AAddress) + 1, ASize - SizeOf(TTinyHeapMemBlockSize));
|
||||
end;
|
||||
|
||||
const
|
||||
|
Loading…
Reference in New Issue
Block a user