From 3a0852c8f1c0b64ab3105fe3595d553b81ed4882 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 30 Jan 1996 20:03:33 +0000 Subject: (diskfs_release_peropen): Free dotdotport when deallocate peropen. --- libdiskfs/peropen-rele.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/peropen-rele.c b/libdiskfs/peropen-rele.c index fb7ad5ce..b38b2af6 100644 --- a/libdiskfs/peropen-rele.c +++ b/libdiskfs/peropen-rele.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 @@ -27,6 +27,7 @@ diskfs_release_peropen (struct peropen *po) mutex_unlock (&po->np->lock); return; } + mach_port_deallocate (mach_task_self (), po->dotdotport); diskfs_nput (po->np); free (po); } -- cgit v1.2.3