sunrpc: fix memory leak in unix_gid cache.
commit560ab42ef923aaf2e4347315bdfcc74b2708972c
authorNeilBrown <neilb@suse.de>
Tue, 4 Aug 2009 05:22:39 +0000 (4 15:22 +1000)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 4 Aug 2009 20:52:44 +0000 (4 16:52 -0400)
treee785cd1ff69276bbeb653311fc67f5472f8b90d3
parent989a19b9b10635eeb91c08cefe6cf82986bd4ee2
sunrpc: fix memory leak in unix_gid cache.

When we look up an entry in the uid->gidlist cache, we take
a reference to the content but don't drop the reference to the
cache entry.  So it never gets freed.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/svcauth_unix.c