From 9c41d664470a00f731bfd52c88474af5d7d59738 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 17 Jan 2022 17:05:56 -0500 Subject: [PATCH] kcm: kcm_op_do_ntlm dead code removal duplicate error check introduced by fe2dfe83a88fbc2ad321e0d042ded79a75b448c5 ("clean up and make work, require libheim-ipcs") --- kcm/protocol.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kcm/protocol.c b/kcm/protocol.c index 0b5e6189b..decc6c176 100644 --- a/kcm/protocol.c +++ b/kcm/protocol.c @@ -1537,13 +1537,6 @@ kcm_op_do_ntlm(krb5_context context, } free(tmpsesskey.data); - if (ret) { - if (type3.lm.data) - free(type3.lm.data); - if (type3.ntlm.data) - free(type3.ntlm.data); - goto error; - } flags |= NTLM_FLAG_SESSIONKEY; #if 0 } else { -- 2.11.4.GIT