From d99dbfc58315abf9a68b345b1b3704795f0d574c Mon Sep 17 00:00:00 2001 From: Scott McGuire Date: Wed, 6 Jan 1999 22:45:07 +0000 Subject: [PATCH] Remove inappropriate cc_shutdown() call from krb5_cc_destroy() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/ccapi/stdcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index 0e62454a9..c0eb1e98f 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -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; -- 2.26.2