Param correction.

This commit is contained in:
Uriah Pollock
2022-08-08 19:43:54 -05:00
parent f8c9393235
commit 5049b16325

View File

@ -22227,7 +22227,7 @@ Cert* wc_CertNew(void* heap)
certNew = (Cert*)XMALLOC(sizeof(certNew), heap, DYNAMIC_TYPE_CERT);
if (certNew) {
if (wc_InitCert_ex(certNew, NULL, INVALID_DEVID) != 0) {
if (wc_InitCert_ex(certNew, heap, INVALID_DEVID) != 0) {
XFREE(certNew, heap, DYNAMIC_TYPE_CERT);
certNew = NULL;
}