diff options
Diffstat (limited to 'monitor_mm.c')
-rw-r--r-- | monitor_mm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor_mm.c b/monitor_mm.c index b9ea978a6..3231c8786 100644 --- a/monitor_mm.c +++ b/monitor_mm.c | |||
@@ -130,8 +130,13 @@ mm_destroy(struct mm_master *mm) | |||
130 | mm_freelist(mm->mmalloc, &mm->rb_free); | 130 | mm_freelist(mm->mmalloc, &mm->rb_free); |
131 | mm_freelist(mm->mmalloc, &mm->rb_allocated); | 131 | mm_freelist(mm->mmalloc, &mm->rb_allocated); |
132 | 132 | ||
133 | #ifdef HAVE_MMAP | ||
133 | if (munmap(mm->address, mm->size) == -1) | 134 | if (munmap(mm->address, mm->size) == -1) |
134 | fatal("munmap(%p, %lu)", mm->address, (u_long)mm->size); | 135 | fatal("munmap(%p, %lu)", mm->address, (u_long)mm->size); |
136 | #else | ||
137 | fatal("%s: UsePrivilegeSeparation=yes not supported", | ||
138 | __FUNCTION__); | ||
139 | #endif | ||
135 | if (mm->mmalloc == NULL) | 140 | if (mm->mmalloc == NULL) |
136 | xfree(mm); | 141 | xfree(mm); |
137 | else | 142 | else |