kcm: kcm_op_do_ntlm dead code removal

duplicate error check introduced by
fe2dfe83a8
("clean up and make work, require libheim-ipcs")
This commit is contained in:
Jeffrey Altman
2022-01-17 17:05:56 -05:00
parent 68e2135361
commit 9c41d66447

View File

@@ -1537,13 +1537,6 @@ kcm_op_do_ntlm(krb5_context context,
} }
free(tmpsesskey.data); 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; flags |= NTLM_FLAG_SESSIONKEY;
#if 0 #if 0
} else { } else {