From e975f14ee90a2ddb80afd9517670d61a80c00a02 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 8 Dec 2005 15:42:25 +0000 Subject: * nis/ypclnt.c (yp_update): Before trying default authentication, free DES descriptor. --- nis/ypclnt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nis') diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 5fc931c..6609566 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -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; } -- cgit v1.1