mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
* sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
client->cl_auth.
This commit is contained in:
parent
ca4fce0e1e
commit
48be31142a
@ -1,5 +1,8 @@
|
||||
2006-05-04 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
|
||||
client->cl_auth.
|
||||
|
||||
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire
|
||||
cleanup for initial thread, just the free call on TVP.
|
||||
|
||||
|
@ -552,8 +552,11 @@ __rpc_thread_key_cleanup (void)
|
||||
struct key_call_private *kcp = RPC_THREAD_VARIABLE(key_call_private_s);
|
||||
|
||||
if (kcp) {
|
||||
if (kcp->client)
|
||||
if (kcp->client) {
|
||||
if (kcp->client->cl_auth)
|
||||
auth_destroy (kcp->client->cl_auth);
|
||||
clnt_destroy(kcp->client);
|
||||
}
|
||||
free (kcp);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user