projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba81b1
)
Remove wrong VirtualAlloc MEM_DECOMMITs on cleanup
author
Esa Ilari Vuokko
<ei@vuokko.info>
Mon, 21 Aug 2006 18:03:32 +0000
(18:03 +0000)
committer
Esa Ilari Vuokko
<ei@vuokko.info>
Mon, 21 Aug 2006 18:03:32 +0000
(18:03 +0000)
rts/MBlock.c
patch
|
blob
|
history
diff --git
a/rts/MBlock.c
b/rts/MBlock.c
index
e3acea8
..
594c916
100644
(file)
--- a/
rts/MBlock.c
+++ b/
rts/MBlock.c
@@
-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;