krb5: Fix coverity warnings

This commit is contained in:
Nicolas Williams
2022-01-19 23:38:27 -06:00
parent 9203c4a3f4
commit 1eda4920c8
16 changed files with 90 additions and 83 deletions

View File

@@ -1108,7 +1108,7 @@ rd_kx509_resp(krb5_context context,
ret = errno;
}
free_Kx509Response(&r);
if (cert) {
if (*cert) {
heim_release(herr);
return 0;
}