* don't call the memory manager's functions, but instead call the Sys* functions directly

git-svn-id: trunk@42797 -
This commit is contained in:
svenbarth 2019-08-24 10:37:20 +00:00
parent f88a98e976
commit c1e3c61af3

View File

@ -1328,9 +1328,9 @@ end;
function SysAllocMem(size: ptruint): pointer;
begin
result := MemoryManager.GetMem(size);
result := SysGetMem(size);
if result<>nil then
FillChar(result^,MemoryManager.MemSize(result),0);
FillChar(result^,SysMemSize(result),0);
end;