Michaël Van Canneyt %!s(int64=2) %!d(string=hai) anos
pai
achega
fb5b891c45
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      rtl/inc/heap.inc

+ 2 - 2
rtl/inc/heap.inc

@@ -1295,8 +1295,8 @@ end;
 
 Function SysFreeMemSize(p: pointer; size: ptruint):ptruint;
 begin
-  if size=0 then
-    exit(0);
+//  if size=0 then
+//    exit(0);
   { can't free partial blocks, ignore size }
   result := SysFreeMem(p);
 end;