[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 05/12: nfs: fix deallocation of struct node.
From: |
Samuel Thibault |
Subject: |
[hurd] 05/12: nfs: fix deallocation of struct node. |
Date: |
Tue, 23 Feb 2016 23:53:24 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 691251adb7a1eaae7eda7601a1f05d4ff819dd64
Author: Flavio Cruz <address@hidden>
Date: Mon Feb 15 19:32:02 2016 -0500
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(-)
diff --git a/nfs/cache.c b/nfs/cache.c
index 4719ae3..b48152e 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);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (ffaff64 -> 3294609), Samuel Thibault, 2016/02/23
- [hurd] 06/12: trans/crash: fix suspending task, Samuel Thibault, 2016/02/23
- [hurd] 07/12: utils/mount: start translators with stderr closed, Samuel Thibault, 2016/02/23
- [hurd] 09/12: procfs: adapt to kernel interface change, Samuel Thibault, 2016/02/23
- [hurd] 04/12: Make fakeroot forward send errors instead of crashing, Samuel Thibault, 2016/02/23
- [hurd] 12/12: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into upstream, Samuel Thibault, 2016/02/23
- [hurd] 08/12: fix Xioctl-proto.defs creation, Samuel Thibault, 2016/02/23
- [hurd] 10/12: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into upstream, Samuel Thibault, 2016/02/23
- [hurd] 11/12: libports: preserve the complex message flag, Samuel Thibault, 2016/02/23
- [hurd] 03/12: libnetfs: remove unused fields., Samuel Thibault, 2016/02/23
- [hurd] 05/12: nfs: fix deallocation of struct node.,
Samuel Thibault <=
- [hurd] 02/12: libdiskfs: fix and improve locking in nrefs/nput., Samuel Thibault, 2016/02/23
- [hurd] 01/12: nfs: Use libihash for the node cache., Samuel Thibault, 2016/02/23