summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-29 23:49:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-29 23:49:34 +0000
commitc48ba4fa712531db5591fd9a63de74835415b2c3 (patch)
tree08ba916a6dae244d0afcac5ea748dcfcf16c6819 /libdiskfs/node-drop.c
parent070482e1ebeaaef2eb54568da4860bfa85728eba (diff)
Formerly node-drop.c.~8~
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r--libdiskfs/node-drop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index 763d2b61..8460d49c 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -66,6 +66,8 @@ diskfs_drop_node (struct node *np)
free (dm);
}
}
+ if (np->sockaddr)
+ mach_port_deallocate (mach_task_self (), np->sockaddr);
diskfs_node_norefs (np);
spin_unlock (&diskfs_node_refcnt_lock);