Added ccache cleanup to CFm termination procs
authorMiro Jurisic <meeroh@mit.edu>
Fri, 20 Aug 1999 19:06:44 +0000 (19:06 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Fri, 20 Aug 1999 19:06:44 +0000 (19:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11697 dc483132-0cff-0310-8789-dd5450dbe970

src/mac/GSS.CFM.c
src/mac/K5.CFM.c

index 686ee20bfc00f6128f1a46d70abed12e3a8200aa..24bf94d543726c04caa6239ec9b9e55a2f6c8c27 100644 (file)
@@ -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);
index e838e4c0fe03992279d434c030c7da3fc0b8074e..47bfa389a241b29b4f772d1d3638fee58934ee97 100644 (file)
@@ -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);