|
@@ -260,8 +260,8 @@
|
|
end;
|
|
end;
|
|
if (ASize and 1) <> 0 then
|
|
if (ASize and 1) <> 0 then
|
|
Dec(ASize);
|
|
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;
|
|
end;
|
|
|
|
|
|
const
|
|
const
|