Merge pull request #8034 from philljj/acert_fix_staticmem_build

acert: correct XFREE call.
This commit is contained in:
Daniel Pouzzner 2024-10-01 23:09:21 -05:00 committed by GitHub
commit 925fbf3bf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7355,7 +7355,7 @@ void wolfSSL_X509_ACERT_free(WOLFSSL_X509_ACERT* x509)
/* Finally memset and free x509 acert structure. */
XMEMSET(x509, 0, sizeof(*x509));
XFREE(x509, x509->heap, NULL);
XFREE(x509, NULL, DYNAMIC_TYPE_X509_ACERT);
return;
}