summaryrefslogtreecommitdiff
path: root/libtrivfs/cntl-clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/cntl-clean.c')
-rw-r--r--libtrivfs/cntl-clean.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtrivfs/cntl-clean.c b/libtrivfs/cntl-clean.c
index 18d62201..4b7a29cd 100644
--- a/libtrivfs/cntl-clean.c
+++ b/libtrivfs/cntl-clean.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994 Free Software Foundation
+ Copyright (C) 1994, 1996 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -24,5 +24,7 @@ trivfs_clean_cntl (void *arg)
{
struct trivfs_control *cntl = arg;
+ mach_port_destroy (mach_task_self (), cntl->filesys_id);
+ mach_port_destroy (mach_task_self (), cntl->file_id);
mach_port_deallocate (mach_task_self (), cntl->underlying);
}