]>
Commit | Line | Data |
---|---|---|
d423733f AM |
1 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
4 | pid changed. | |
5 | ||
6 | --- libc/sunrpc/key_call.c 4 May 2006 18:22:38 -0000 1.20 | |
7 | +++ libc/sunrpc/key_call.c 17 May 2006 15:10:44 -0000 1.21 | |
8 | @@ -400,6 +400,7 @@ getkeyserv_handle (int vers) | |
9 | /* if pid has changed, destroy client and rebuild */ | |
10 | if (kcp->client != NULL && kcp->pid != __getpid ()) | |
11 | { | |
12 | + auth_destroy (kcp->client->cl_auth); | |
13 | clnt_destroy (kcp->client); | |
14 | kcp->client = NULL; | |
15 | } |