From c9aaae24d10f2a3972cca7924706b765f772d8a0 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:47:58 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * lmail.c (bfree): Use munmap instead of vm_deallocate. --- daemons/lmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemons/lmail.c') diff --git a/daemons/lmail.c b/daemons/lmail.c index f30c3b05..3c2d64b3 100644 --- a/daemons/lmail.c +++ b/daemons/lmail.c @@ -139,7 +139,7 @@ static void bfree (char *blk, size_t blk_len) { if (blk_len > 0) - vm_deallocate (mach_task_self (), (vm_address_t)blk, blk_len); + munmap (blk, blk_len); } /* Read up to MAX chars from IN into BLK & BLK_LEN, which may be reused or -- cgit v1.2.3