Remove inappropriate cc_shutdown() call from krb5_cc_destroy()
authorScott McGuire <smcguire@mit.edu>
Wed, 6 Jan 1999 22:45:07 +0000 (22:45 +0000)
committerScott McGuire <smcguire@mit.edu>
Wed, 6 Jan 1999 22:45:07 +0000 (22:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccapi/stdcc.c

index 0e62454a96c0966eee181aabd444d893d98d7fa0..c0eb1e98fd7defe950da87cf19c2cf74964893a9 100644 (file)
@@ -354,10 +354,10 @@ krb5_stdcc_destroy (krb5_context context, krb5_ccache id ) {
 
        //destroy the named cache
        err = cc_destroy(gCntrlBlock, &(((stdccCacheDataPtr)(id->data))->NamedCache));
+       
        //free the pointer to the record that held the pointer to the cache
-       cc_shutdown(&gCntrlBlock);
-
        free((stdccCacheDataPtr)(id->data));
+       
        //null it out
        (stdccCacheDataPtr)(id->data) = NULL;