From 57b6949e9ca8964dcb4ba712fe3876eb21fe84ae Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Sun, 22 Aug 2004 23:02:18 -0700 Subject: [PATCH] [PATCH] kNFSd: minor memory leak fix. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- net/sunrpc/svcauth_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 10e21d0812ae8..850a556b7b175 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); } } -- 2.53.0