From 1690ad7366d67fc84b389e9368406180e726953c Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 1 Oct 2024 21:57:53 -0400 Subject: [PATCH] acert: correct XFREE call. --- src/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x509.c b/src/x509.c index 759e1fc6f1..be1d36f2b5 100644 --- a/src/x509.c +++ b/src/x509.c @@ -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; }