Commit efb48d67 authored by's avatar
Browse files

Remove wrong VirtualAlloc MEM_DECOMMITs on cleanup

parent aba81b16
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment