--- old/usr/src/lib/gss_mechs/mech_krb5/mech/accept_sec_context.c Thu May 7 01:13:47 2009 +++ new/usr/src/lib/gss_mechs/mech_krb5/mech/accept_sec_context.c Thu May 7 01:13:46 2009 @@ -1,9 +1,8 @@ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ - /* * Copyright 2000, 2004 by the Massachusetts Institute of Technology. * All Rights Reserved. @@ -316,6 +315,7 @@ OM_uint32 saved_ap_options = 0; krb5int_access kaccess; int cred_rcache = 0; + OM_uint32 t_minor_status = 0; KRB5_LOG0(KRB5_INFO,"krb5_gss_accept_sec_context() start"); @@ -1180,7 +1180,7 @@ cleanup: if (!verifier_cred_handle && cred_handle) { - krb5_gss_release_cred(minor_status, &cred_handle); + krb5_gss_release_cred(&t_minor_status, &cred_handle); } krb5_free_context(context);