From c48ba4fa712531db5591fd9a63de74835415b2c3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 29 Jun 1994 23:49:34 +0000 Subject: Formerly node-drop.c.~8~ --- libdiskfs/node-drop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdiskfs') 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); -- cgit v1.2.3