From: John Kohl Date: Fri, 9 Mar 1990 09:42:26 +0000 (+0000) Subject: add a missing krb5_free_kdc_rep() X-Git-Tag: krb5-1.0-alpha2~1008 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2bf9b223a73d5a3565e740f4f2b0b789ae521b6;p=krb5.git add a missing krb5_free_kdc_rep() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@376 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/decode_kdc.c b/src/lib/krb5/krb/decode_kdc.c index dd10cd99c..932a7b6a0 100644 --- a/src/lib/krb5/krb/decode_kdc.c +++ b/src/lib/krb5/krb/decode_kdc.c @@ -71,6 +71,7 @@ OLDDECLARG(krb5_kdc_rep **, dec_rep) } if (local_dec_rep->etype != etype) { + krb5_free_kdc_rep(local_dec_rep); return KRB5KDC_ERR_ETYPE_NOSUPP; /* XXX */ } if (retval = krb5_kdc_rep_decrypt_proc(key, 0, local_dec_rep)) {