From 1f01f57857ad4a2bdd7bd9849aaf7050cadfd877 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 28 Sep 1994 03:32:08 +0000 Subject: [PATCH] Fix to reflect fact that krb5_rc_dfl_close() now frees the rcache structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4358 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 6 ++++++ src/lib/gssapi/krb5/accept_sec_context.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 10711ebde..6eb6ccc98 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,9 @@ +Tue Sep 27 23:30:14 1994 Theodore Y. Ts'o (tytso@dcl) + + * accept_security_context.c (krb5_gss_accept_sec_context): + krb5_rc_dfl_close now frees the rcache structure, so + this routine shouldn't. + Wed Aug 17 15:47:26 1994 Theodore Y. Ts'o (tytso at tsx-11) * gssapi_krb5.c: Fixed OID for the krb5 mechanism. (Transcription diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index a1f65444e..5e0f3db34 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -222,7 +222,6 @@ OM_uint32 krb5_gss_accept_sec_context(minor_status, context_handle, if (code = krb5_rd_req(&ap_req, cred->princ, paddr, NULL, &rd_req_keyproc, (krb5_pointer) cred->keytab, rcache, &authdat)) { (void) krb5_rc_close(rcache); - xfree(rcache); *minor_status = code; return(GSS_S_FAILURE); } @@ -230,7 +229,6 @@ OM_uint32 krb5_gss_accept_sec_context(minor_status, context_handle, /* close and free the rcache */ krb5_rc_close(rcache); - xfree(rcache); /* make sure the necessary parts of the authdat are present */ -- 2.26.2