summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-10 00:09:35 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-10 00:09:35 +0000
commit027115ebf9261e59b1b00931327fe864a3787f8a (patch)
tree693adab97c534e42d4770a501cc004af5a282a62 /libtrivfs
parent025264fda4521048400ad531972c441338a60627 (diff)
(trivfs_clean_cntl): Destroy filesys_id and file_id members.
Diffstat (limited to 'libtrivfs')
-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);
}