diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-04 18:23:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-04 18:23:32 +0000 |
commit | 48be31142a07498609795d7c172a923919e4a477 (patch) | |
tree | 61069ac469711ba9275d365d8ca65a968e2943e1 | |
parent | ca4fce0e1ece616c6f34d549469d26d787141a89 (diff) | |
download | glibc-48be31142a07498609795d7c172a923919e4a477.tar glibc-48be31142a07498609795d7c172a923919e4a477.tar.gz glibc-48be31142a07498609795d7c172a923919e4a477.tar.bz2 glibc-48be31142a07498609795d7c172a923919e4a477.zip |
* sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
client->cl_auth.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sunrpc/key_call.c | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -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. diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index 77c0ce18b9..63293aefa5 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -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); } } |