aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2004-08-22 23:02:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 23:02:18 -0700
commit57b6949e9ca8964dcb4ba712fe3876eb21fe84ae (patch)
tree0491b4fd08627e1f6a8063f56fd46835bbcf2429 /net
parent2b9b6f10f252c095dd047c26a3bdec599588d42a (diff)
downloadhistory-57b6949e9ca8964dcb4ba712fe3876eb21fe84ae.tar.gz
[PATCH] kNFSd: minor memory leak fix.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svcauth_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 10e21d0812ae8b..850a556b7b1751 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -104,6 +104,7 @@ void ip_map_put(struct cache_head *item, struct cache_detail *cd)
if (test_bit(CACHE_VALID, &item->flags) &&
!test_bit(CACHE_NEGATIVE, &item->flags))
auth_domain_put(&im->m_client->h);
+ kfree(im->m_class);
kfree(im);
}
}