From 191783e634d17927051337359f9abbe32c0e5b2e Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 17 Jan 2005 23:57:51 +0000 Subject: Some applications such as Eudora on Windows load and unload the Kerberos libraries as part of a plug-in. Plugins are often loaded for a specific purpose and then unregistered. In order to support this model, the libraries must restore the library state to the uninitialized state when the library is unloaded. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17050 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb5_libinit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/krb5/krb5_libinit.c') diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c index 8290c14..ece79cf 100644 --- a/src/lib/krb5/krb5_libinit.c +++ b/src/lib/krb5/krb5_libinit.c @@ -69,9 +69,11 @@ void krb5int_lib_fini(void) if (!INITIALIZER_RAN(krb5int_lib_init) || PROGRAM_EXITING()) return; - krb5int_rc_terminate(); - krb5int_kt_finalize(); + k5_mutex_destroy(&krb5int_us_time_mutex); + krb5int_cc_finalize(); + krb5int_kt_finalize(); + krb5int_rc_terminate(); #if defined(_WIN32) || defined(USE_CCAPI) krb5_stdcc_shutdown(); -- cgit v1.1