diff options
author | Theodore Tso <tytso@mit.edu> | 1999-04-30 16:29:45 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1999-04-30 16:29:45 +0000 |
commit | 86ce19d792e2c575ba6a22328805732bb222660e (patch) | |
tree | 97811da61dc732f09b4c9df3e55850d32b9e2910 | |
parent | c44c39734e3d53a7abf79ffb0f09bf4ea7bf13cd (diff) | |
download | krb5-86ce19d792e2c575ba6a22328805732bb222660e.tar.gz krb5-86ce19d792e2c575ba6a22328805732bb222660e.tar.xz krb5-86ce19d792e2c575ba6a22328805732bb222660e.zip |
set_ccache.c (gss_krb5_ccache_name): Add call to free the default
credential changing the ccache name.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11413 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/gssapi/krb5/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/set_ccache.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 6081b04c0..ddb73e024 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 3732ca78e..eba22f2cd 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; } |