summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-17 15:11:44 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-17 15:11:44 +0000
commit360d5cf4dc7ef71cd7e4bd549c95cd5a2bff2689 (patch)
treee82812f3137360ed4a8b77d26c1ff54cb226208e /sunrpc
parent6f8a7dff35190bc47b003b9378f50f31b230872e (diff)
downloadglibc-360d5cf4dc7ef71cd7e4bd549c95cd5a2bff2689.tar.gz
glibc-360d5cf4dc7ef71cd7e4bd549c95cd5a2bff2689.tar.xz
glibc-360d5cf4dc7ef71cd7e4bd549c95cd5a2bff2689.zip
* sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if
	pid changed.

	* include/rpc/key_prot.h: Mark all _internal functions as hidden.
	* include/rpc/xdr.h: Mark all _internal functions as hidden.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/key_call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 63293aefa5..611c37256c 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -400,6 +400,7 @@ getkeyserv_handle (int vers)
   /* if pid has changed, destroy client and rebuild */
   if (kcp->client != NULL && kcp->pid != __getpid ())
     {
+      auth_destroy (kcp->client->cl_auth);
       clnt_destroy (kcp->client);
       kcp->client = NULL;
     }