Michaël Van Canneyt 2 years ago
parent
commit
fb5b891c45
1 changed files with 2 additions and 2 deletions
  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;