From 761efced64f6f02713d56778abdf77402bd748cc Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 8 Jun 2006 21:44:50 +0000 Subject: [PATCH] Free requested-enctype list when freeing up credentials. Reported by Rainer Weikusat. ticket: 3790 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18093 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/rel_cred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/gssapi/krb5/rel_cred.c b/src/lib/gssapi/krb5/rel_cred.c index b7db6f061..e48656f9f 100644 --- a/src/lib/gssapi/krb5/rel_cred.c +++ b/src/lib/gssapi/krb5/rel_cred.c @@ -70,6 +70,10 @@ krb5_gss_release_cred(minor_status, cred_handle) code3 = 0; if (cred->princ) krb5_free_principal(context, cred->princ); + + if (cred->req_enctypes) + free(cred->req_enctypes); + xfree(cred); krb5_free_context(context); -- 2.26.2