summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2016-02-15 19:32:02 -0500
committerJustus Winter <justus@gnupg.org>2016-02-16 10:13:30 +0100
commit691251adb7a1eaae7eda7601a1f05d4ff819dd64 (patch)
tree354000f8474930ee88425281ed9017e68081ed84
parentd0716c74b5fa2aead849fc4132a0f7fdfce02575 (diff)
nfs: fix deallocation of struct node.
* nfs/cache.c: Do not free np->nn since np and np->nn are being allocated contiguously.
-rw-r--r--nfs/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nfs/cache.c b/nfs/cache.c
index 4719ae36..b48152ea 100644
--- a/nfs/cache.c
+++ b/nfs/cache.c
@@ -158,7 +158,6 @@ netfs_node_norefs (struct node *np)
hurd_ihash_locp_remove (&nodehash, np->nn->slot);
if (np->nn->dtrans == SYMLINK)
free (np->nn->transarg.name);
- free (np->nn);
free (np);
}
}