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 b9ea978a..3231c878 100644 --- a/monitor_mm.c +++ b/monitor_mm.c @@ -130,8 +130,13 @@ mm_destroy(struct mm_master *mm) mm_freelist(mm->mmalloc, &mm->rb_free); mm_freelist(mm->mmalloc, &mm->rb_allocated); +#ifdef HAVE_MMAP if (munmap(mm->address, mm->size) == -1) fatal("munmap(%p, %lu)", mm->address, (u_long)mm->size); +#else + fatal("%s: UsePrivilegeSeparation=yes not supported", + __FUNCTION__); +#endif if (mm->mmalloc == NULL) xfree(mm); else |