diff options
-rw-r--r-- | daemons/ChangeLog | 4 | ||||
-rw-r--r-- | daemons/lmail.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/daemons/ChangeLog b/daemons/ChangeLog index ace04649..1bb1793b 100644 --- a/daemons/ChangeLog +++ b/daemons/ChangeLog @@ -1,3 +1,7 @@ +1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> + + * lmail.c (bfree): Use munmap instead of vm_deallocate. + 1999-07-01 Thomas Bushnell, BSG <tb@mit.edu> * rc.sh: Specify bash instead of sh. 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 |