summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-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);