summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/MBlock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rts/sm/MBlock.c b/rts/sm/MBlock.c
index f5b61c6547..1801086c2a 100644
--- a/rts/sm/MBlock.c
+++ b/rts/sm/MBlock.c
@@ -265,13 +265,12 @@ freeMBlocks(void *addr, nat n)
void
freeAllMBlocks(void)
{
- nat n;
-
debugTrace(DEBUG_gc, "freeing all megablocks");
osFreeAllMBlocks();
#if SIZEOF_VOID_P == 8
+ nat n;
for (n = 0; n < mblock_map_count; n++) {
stgFree(mblock_maps[n]);
}