]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if
authorUlrich Drepper <drepper@redhat.com>
Wed, 17 May 2006 15:11:44 +0000 (15:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 17 May 2006 15:11:44 +0000 (15:11 +0000)
pid changed.

* include/rpc/key_prot.h: Mark all _internal functions as hidden.
* include/rpc/xdr.h: Mark all _internal functions as hidden.

ChangeLog
sunrpc/key_call.c

index 51b8b6436ced0919621adea4e5781487b3b6e37d..ca6fda13858ef9246de50344efc43b4b7690172f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if
+       pid changed.
+
 2006-05-15  Ulrich Drepper  <drepper@redhat.com>
 
        * include/rpc/pmap_prot.h: Mark all functions as hidden.
@@ -14,7 +19,7 @@
 
        * iconv/gconv_int.h: Mark __gconv_lock as hidden.
 
-       * include/rpc/key_prot.h: Maek all _internal functions as hidden.
+       * include/rpc/key_prot.h: Mark all _internal functions as hidden.
 
        * include/rpc/auth.h: Mark xdr_des_block_internal and
        xdr_opaque_auth_internal as hidden.
@@ -22,7 +27,7 @@
        * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as
        hidden.
 
-       * include/rpc/xdr.h: Make all _internal functions as hidden.
+       * include/rpc/xdr.h: Mark all _internal functions as hidden.
 
        * misc/getusershell.c (okshells): Don't use static initializers,
        do it dynamically.
index 63293aefa59061c5ab315a2b500c7b487ccb0b49..611c37256c179adce4b1d30a70c66db7d6d35b24 100644 (file)
@@ -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;
     }