Trond Myklebust 3ab9bb7243 SUNRPC: Fix a memory leak in the auth credcache code
The leak only affects the RPCSEC_GSS caches, since they are the only ones
that are dynamically allocated...
Rename the existing rpcauth_free_credcache() to rpcauth_clear_credcache()
in order to better describe its role, then add a new function
rpcauth_destroy_credcache() that actually frees the cache in addition to
clearing it out.

Also move the call to destroy the credcache in gss_destroy() to come before
the rpc upcall pipe is unlinked.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-07-10 23:40:33 -04:00
..
2007-06-02 01:02:09 -04:00
2007-06-01 08:18:29 -07:00
2007-07-06 10:23:43 -07:00
2007-05-08 11:15:20 -07:00
2007-05-14 09:55:35 +09:00
2007-06-24 08:59:11 -07:00
2007-04-27 14:23:33 +03:00
2007-07-10 12:41:08 -04:00
2007-05-31 11:03:27 +02:00