diff options
author | Andrew Boardman <amb@mit.edu> | 2006-09-09 02:08:04 +0000 |
---|---|---|
committer | Andrew Boardman <amb@mit.edu> | 2006-09-09 02:08:04 +0000 |
commit | 0f4c1b39a62922081db389f630349d269c0dec12 (patch) | |
tree | 67234112107da22eb1f300c14e7f8b530d49eab2 | |
parent | 82eaa6fb15821d5650bf0020b64b8c80dd7bc17a (diff) | |
download | krb5-0f4c1b39a62922081db389f630349d269c0dec12.zip krb5-0f4c1b39a62922081db389f630349d269c0dec12.tar.gz krb5-0f4c1b39a62922081db389f630349d269c0dec12.tar.bz2 |
Leak found with tgtq reuse under some circumstances. Fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/referrals@18578 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/krb/gc_frm_kdc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/gc_frm_kdc.c b/src/lib/krb5/krb/gc_frm_kdc.c index 4427ae1..b66f66e 100644 --- a/src/lib/krb5/krb/gc_frm_kdc.c +++ b/src/lib/krb5/krb/gc_frm_kdc.c @@ -985,6 +985,7 @@ krb5_get_cred_from_kdc_opt(krb5_context context, krb5_ccache ccache, * Get a TGT for the target realm. */ + krb5_free_cred_contents(context, &tgtq); retval = tgt_mcred(context, client, server, client, &tgtq); if (retval) goto cleanup; |