diff options
author | Ken Raeburn <raeburn@mit.edu> | 2008-05-15 23:03:54 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2008-05-15 23:03:54 +0000 |
commit | 0e619d5d2a3f17635a08220b866471018af435c1 (patch) | |
tree | ffb8ffb5a26a277719816f66b7eb2df1e86e6e46 | |
parent | 080acda695a22e60c65b28e8b09bec279f187aec (diff) | |
download | krb5-0e619d5d2a3f17635a08220b866471018af435c1.zip krb5-0e619d5d2a3f17635a08220b866471018af435c1.tar.gz krb5-0e619d5d2a3f17635a08220b866471018af435c1.tar.bz2 |
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
-rw-r--r-- | src/lib/gssapi/krb5/inq_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/inq_context.c b/src/lib/gssapi/krb5/inq_context.c index 28c49f7..8f46a95 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; |