summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-01-30 20:03:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-01-30 20:03:33 +0000
commit3a0852c8f1c0b64ab3105fe3595d553b81ed4882 (patch)
treefe3a01c7cdf48ba80f7bf2479e4dfc9554eaeac1 /libdiskfs
parentb5c0c2c14c611344c1314008991679f41bfe38f1 (diff)
(diskfs_release_peropen): Free dotdotport when deallocate peropen.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/peropen-rele.c3
1 files changed, 2 insertions, 1 deletions
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);
}