From 027115ebf9261e59b1b00931327fe864a3787f8a Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 10 May 1996 00:09:35 +0000 Subject: (trivfs_clean_cntl): Destroy filesys_id and file_id members. --- libtrivfs/cntl-clean.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3