From: Ken Raeburn Date: Thu, 15 May 2008 23:03:54 +0000 (+0000) Subject: Fix minor bug in kg_save_name failure cleanup code X-Git-Tag: krb5-1.7-alpha1~683 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0e619d5d2a3f17635a08220b866471018af435c1;p=krb5.git Fix minor bug in kg_save_name failure cleanup code git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20318 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/inq_context.c b/src/lib/gssapi/krb5/inq_context.c index 28c49f72c..8f46a95ad 100644 --- a/src/lib/gssapi/krb5/inq_context.c +++ b/src/lib/gssapi/krb5/inq_context.c @@ -101,7 +101,7 @@ krb5_gss_inquire_context(minor_status, context_handle, initiator_name, if (! kg_save_name((gss_name_t) accept)) { krb5_free_principal(context, accept); if (init) { - kg_delete_name((gss_name_t) accept); + kg_delete_name((gss_name_t) init); krb5_free_principal(context, init); } *minor_status = (OM_uint32) G_VALIDATE_FAILED;