Commit 57b6949e authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] kNFSd: minor memory leak fix.

Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2b9b6f10
...@@ -104,6 +104,7 @@ void ip_map_put(struct cache_head *item, struct cache_detail *cd) ...@@ -104,6 +104,7 @@ void ip_map_put(struct cache_head *item, struct cache_detail *cd)
if (test_bit(CACHE_VALID, &item->flags) && if (test_bit(CACHE_VALID, &item->flags) &&
!test_bit(CACHE_NEGATIVE, &item->flags)) !test_bit(CACHE_NEGATIVE, &item->flags))
auth_domain_put(&im->m_client->h); auth_domain_put(&im->m_client->h);
kfree(im->m_class);
kfree(im); kfree(im);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment