projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0e625
)
Remove inappropriate cc_shutdown() call from krb5_cc_destroy()
author
Scott McGuire
<smcguire@mit.edu>
Wed, 6 Jan 1999 22:45:07 +0000
(22:45 +0000)
committer
Scott 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/ccapi/stdcc.c
b/src/lib/krb5/ccache/ccapi/stdcc.c
index 0e62454a96c0966eee181aabd444d893d98d7fa0..c0eb1e98fd7defe950da87cf19c2cf74964893a9 100644
(file)
--- 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;