From c2bf9b223a73d5a3565e740f4f2b0b789ae521b6 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 9 Mar 1990 09:42:26 +0000 Subject: [PATCH] add a missing krb5_free_kdc_rep() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@376 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/decode_kdc.c | 1 + 1 file changed, 1 insertion(+) 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)) { -- 2.26.2