summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/gssapi/krb5/ChangeLog5
-rw-r--r--src/lib/gssapi/krb5/set_ccache.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog
index 6081b04c01..ddb73e024a 100644
--- a/src/lib/gssapi/krb5/ChangeLog
+++ b/src/lib/gssapi/krb5/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 30 12:27:14 1999 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * set_ccache.c (gss_krb5_ccache_name): Add call to free the
+ default credential changing the ccache name.
+
Thu Apr 29 18:02:00 1999 Miro Jurisic <meeroh@mit.edu>
* gssapi_krb5.h: Remove gssapi_generic.h includes because
diff --git a/src/lib/gssapi/krb5/set_ccache.c b/src/lib/gssapi/krb5/set_ccache.c
index 3732ca78e8..eba22f2cd4 100644
--- a/src/lib/gssapi/krb5/set_ccache.c
+++ b/src/lib/gssapi/krb5/set_ccache.c
@@ -8,6 +8,7 @@ gss_krb5_ccache_name(minor_status, name, out_name)
{
krb5_context context;
krb5_error_code retval;
+ OM_uint32 foo_stat;
if (GSS_ERROR(kg_get_context(minor_status, &context)))
return (GSS_S_FAILURE);
@@ -20,6 +21,7 @@ gss_krb5_ccache_name(minor_status, name, out_name)
*minor_status = retval;
return GSS_S_FAILURE;
}
+ kg_release_defcred(&foo_stat);
return GSS_S_COMPLETE;
}