diff options
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r-- | libdiskfs/node-drop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c index 1e0c1236..d2a89090 100644 --- a/libdiskfs/node-drop.c +++ b/libdiskfs/node-drop.c @@ -78,6 +78,10 @@ diskfs_drop_node (struct node *np) free (dm); } } + + if (np->identity != MACH_PORT_NULL) + mach_port_destroy (mach_task_self (), np->identity; + assert (!np->sockaddr); diskfs_node_norefs (np); |