Remove wrong VirtualAlloc MEM_DECOMMITs on cleanup
authorEsa Ilari Vuokko <ei@vuokko.info>
Mon, 21 Aug 2006 18:03:32 +0000 (18:03 +0000)
committerEsa Ilari Vuokko <ei@vuokko.info>
Mon, 21 Aug 2006 18:03:32 +0000 (18:03 +0000)
rts/MBlock.c

index e3acea8..594c916 100644 (file)
@@ -478,8 +478,6 @@ freeAllMBlocks(void)
         block_rec* next = 0;
         block_rec* it = free_blocks;
         for(; it!=0; ) {
-            if(!VirtualFree((void*)it->base, it->size, MEM_DECOMMIT))
-                debugBelch("freeAllMBlocks: VirtualFree MEM_DECOMMIT failed with %ld", GetLastError());
             next = it->next;
             free(it);
             it=next;