From c1e3c61af35d2b06a8f6ffb33e9353fd5f75604c Mon Sep 17 00:00:00 2001 From: svenbarth <pascaldragon@googlemail.com> Date: Sat, 24 Aug 2019 10:37:20 +0000 Subject: [PATCH] * don't call the memory manager's functions, but instead call the Sys* functions directly git-svn-id: trunk@42797 - --- rtl/inc/heap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtl/inc/heap.inc b/rtl/inc/heap.inc index f41e4c8cfa..2e78b082d4 100644 --- a/rtl/inc/heap.inc +++ b/rtl/inc/heap.inc @@ -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;