Browse Source

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

git-svn-id: trunk@42797 -
svenbarth 6 years ago
parent
commit
c1e3c61af3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/inc/heap.inc

+ 2 - 2
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;