From: Scott McGuire Date: Wed, 6 Jan 1999 22:45:07 +0000 (+0000) Subject: Remove inappropriate cc_shutdown() call from krb5_cc_destroy() X-Git-Tag: krb5-1.1-beta1~418 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d99dbfc58315abf9a68b345b1b3704795f0d574c;p=krb5.git Remove inappropriate cc_shutdown() call from krb5_cc_destroy() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11104 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;