Explorar el Código

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

git-svn-id: trunk@42797 -
svenbarth hace 6 años
padre
commit
c1e3c61af3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;