]> git.hungrycats.org Git - linux/commitdiff
[PATCH] kNFSd: minor memory leak fix.
authorNeil Brown <neilb@cse.unsw.edu.au>
Mon, 23 Aug 2004 06:02:18 +0000 (23:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:02:18 +0000 (23:02 -0700)
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>
net/sunrpc/svcauth_unix.c

index 10e21d0812ae8b24ed21d42aad17f42b9a7211e3..850a556b7b1751604a26f7deb1f4b877dc363e8a 100644 (file)
@@ -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);
        }
 }