diff options
-rw-r--r-- | libnetfs/drop-node.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libnetfs/drop-node.c b/libnetfs/drop-node.c index 8e2019fd..1b6ddf88 100644 --- a/libnetfs/drop-node.c +++ b/libnetfs/drop-node.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -24,6 +24,8 @@ void netfs_drop_node (struct node *np) { fshelp_drop_transbox (&np->transbox); + if (np->identity != MACH_PORT_NULL) + mach_port_destroy (mach_task_self (), np->identity); netfs_node_norefs (np); spin_unlock (&netfs_node_refcnt_lock); } |