From 691251adb7a1eaae7eda7601a1f05d4ff819dd64 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Mon, 15 Feb 2016 19:32:02 -0500 Subject: nfs: fix deallocation of struct node. * nfs/cache.c: Do not free np->nn since np and np->nn are being allocated contiguously. --- nfs/cache.c | 1 - 1 file changed, 1 deletion(-) (limited to 'nfs/cache.c') 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); } } -- cgit v1.2.3