* nis/ypclnt.c (yp_update): Before trying default authentication,

free DES descriptor.
This commit is contained in:
Ulrich Drepper 2005-12-08 15:42:25 +00:00
parent 07683f843d
commit e975f14ee9
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-12-08 Jakub Jelinek <jakub@redhat.com>
* nis/ypclnt.c (yp_update): Before trying default authentication,
free DES descriptor.
2005-12-07 Jakub Jelinek <jakub@redhat.com>
* nis/nis_table.c (nis_list): Fix memory handling in error case.

View File

@ -1004,6 +1004,7 @@ again:
{
if (clnt->cl_auth->ah_cred.oa_flavor == AUTH_DES)
{
auth_destroy (clnt->cl_auth);
clnt->cl_auth = authunix_create_default ();
goto again;
}