diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:47:58 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:47:58 +0000 |
commit | c9aaae24d10f2a3972cca7924706b765f772d8a0 (patch) | |
tree | e7adfc8f1e81ebc2144fb7e5cf7ae71c348d70ff /daemons/lmail.c | |
parent | dad514595f5dd19a9a18512b38f163e5f7cfc0f9 (diff) |
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* lmail.c (bfree): Use munmap instead of vm_deallocate.
Diffstat (limited to 'daemons/lmail.c')
-rw-r--r-- | daemons/lmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |