summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-23 15:12:43 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-23 15:12:43 +0000
commit7f02811335e3983d4cda8833caf55fb078332703 (patch)
tree8dff8e85f199f3d30f6a3735aef468433813f258 /libdiskfs
parentdb9ea99045d48744300f736d1a55e810425f92d8 (diff)
(ports_dead_name):
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dead-name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/dead-name.c b/libdiskfs/dead-name.c
index 3d9a2ffd..966e1a4b 100644
--- a/libdiskfs/dead-name.c
+++ b/libdiskfs/dead-name.c
@@ -34,6 +34,7 @@ ports_dead_name (void *notify, mach_port_t dead_name)
if (dead_name == np->sockaddr)
{
mach_port_deallocate (mach_task_self (), np->sockaddr);
+ np->sockaddr = MACH_PORT_NULL;
diskfs_nput (np);
}
else