From e934ce4fddd394bf3207139688a8dc9b969df2e7 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 13 Apr 2009 19:29:14 +0000 Subject: [PATCH] krb5_fcc_generate_new was destroying a locked mutex in the err_out label, which is used for I/O failures. Unlock the mutex first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22200 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/cc_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c index 9b7280b48..0494c3552 100644 --- a/src/lib/krb5/ccache/cc_file.c +++ b/src/lib/krb5/ccache/cc_file.c @@ -2129,6 +2129,7 @@ krb5_fcc_generate_new (krb5_context context, krb5_ccache *id) err_out: k5_cc_mutex_unlock(context, &krb5int_cc_file_mutex); + k5_cc_mutex_unlock(context, &data->lock); k5_cc_mutex_destroy(&data->lock); free(data->filename); free(data); -- 2.26.2