From: Ken Raeburn Date: Thu, 8 Jun 2006 21:44:50 +0000 (+0000) Subject: Free requested-enctype list when freeing up credentials. Reported by Rainer X-Git-Tag: krb5-1.5-beta1~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=761efced64f6f02713d56778abdf77402bd748cc;p=krb5.git 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 --- 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);