hxtool: Fix leak in acert sub-command
This commit is contained in:
@@ -3196,6 +3196,8 @@ acert(struct acert_options *opt, int argc, char **argv)
|
||||
hx509_err(context, 1, ret, "Matching certificate did not meet "
|
||||
"requirements");
|
||||
hx509_cert_free(cert);
|
||||
hx509_query_free(context, q);
|
||||
hx509_certs_free(&certs);
|
||||
free(sn);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user