From: Ken Raeburn Date: Tue, 29 Jun 2004 13:15:20 +0000 (+0000) Subject: * cc_memory.c (krb5_mcc_free): Don't free the mutex here X-Git-Tag: krb5-1.4-beta1~265 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41c43595030e55276e4e3c0d6c4efeab1f2811f0;p=krb5.git * cc_memory.c (krb5_mcc_free): Don't free the mutex here git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16527 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 33991224e..a662900a5 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,7 @@ +2004-06-29 Ken Raeburn + + * cc_memory.c (krb5_mcc_free): Don't destroy the mutex here. + 2004-06-28 Ken Raeburn * cc_memory.c: Include k5-thread.h. diff --git a/src/lib/krb5/ccache/cc_memory.c b/src/lib/krb5/ccache/cc_memory.c index 31a586eaa..07e08ed8b 100644 --- a/src/lib/krb5/ccache/cc_memory.c +++ b/src/lib/krb5/ccache/cc_memory.c @@ -139,7 +139,6 @@ krb5_error_code KRB5_CALLCONV krb5_mcc_close(krb5_context context, krb5_ccache id) { krb5_xfree(id); - return KRB5_OK; } @@ -158,7 +157,6 @@ krb5_mcc_free(krb5_context context, krb5_ccache id) } d->link = NULL; krb5_free_principal(context, d->prin); - k5_mutex_destroy(&d->lock); } /*