From eccb57f342842bf8a067d87b97db68b3791cd4a7 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 29 Mar 2008 01:09:49 +0000 Subject: [PATCH] Coverity CID 47: Unreachable code Delete redundant "status" check. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20298 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/mechglue/g_accept_sec_context.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/gssapi/mechglue/g_accept_sec_context.c b/src/lib/gssapi/mechglue/g_accept_sec_context.c index 0d7155688..c12e2bf4f 100644 --- a/src/lib/gssapi/mechglue/g_accept_sec_context.c +++ b/src/lib/gssapi/mechglue/g_accept_sec_context.c @@ -281,12 +281,6 @@ gss_cred_id_t * d_cred; goto error_out; } - if (status != GSS_S_COMPLETE) { - free(d_u_cred->cred_array); - free(d_u_cred); - goto error_out; - } - internal_name = GSS_C_NO_NAME; d_u_cred->auxinfo.creation_time = time(0); -- 2.26.2