From 7c0ec7e4829517294105f941eef06320dbd652ed Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Fri, 20 Aug 1999 19:06:44 +0000 Subject: [PATCH] Added ccache cleanup to CFm termination procs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11697 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/GSS.CFM.c | 4 ++++ src/mac/K5.CFM.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/mac/GSS.CFM.c b/src/mac/GSS.CFM.c index 686ee20bf..24bf94d54 100644 --- a/src/mac/GSS.CFM.c +++ b/src/mac/GSS.CFM.c @@ -34,6 +34,10 @@ OSErr __initializeGSS(CFragInitBlockPtr ibp) void __terminateGSS(void) { + + OM_uint32 maj_stat, min_stat; + + maj_stat = kg_release_defcred (&min_stat); remove_error_table(&et_k5g_error_table); remove_error_table(&et_ggss_error_table); diff --git a/src/mac/K5.CFM.c b/src/mac/K5.CFM.c index e838e4c0f..47bfa389a 100644 --- a/src/mac/K5.CFM.c +++ b/src/mac/K5.CFM.c @@ -42,6 +42,8 @@ OSErr __initializeK5(CFragInitBlockPtr ibp) void __terminateK5(void) { + + krb5_stdcc_shutdown(); remove_error_table(&et_krb5_error_table); remove_error_table(&et_kv5m_error_table); -- 2.26.2