Commit efb48d67 authored by ei@vuokko.info's avatar ei@vuokko.info

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;
free(it);
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