From 0e619d5d2a3f17635a08220b866471018af435c1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 15 May 2008 23:03:54 +0000 Subject: [PATCH] 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 --- src/lib/gssapi/krb5/inq_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2