Skip to content

Commit 925fbf3

Browse files
authored
Merge pull request #8034 from philljj/acert_fix_staticmem_build
acert: correct XFREE call.
2 parents ac788ec + 1690ad7 commit 925fbf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/x509.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7355,7 +7355,7 @@ void wolfSSL_X509_ACERT_free(WOLFSSL_X509_ACERT* x509)
73557355

73567356
/* Finally memset and free x509 acert structure. */
73577357
XMEMSET(x509, 0, sizeof(*x509));
7358-
XFREE(x509, x509->heap, NULL);
7358+
XFREE(x509, NULL, DYNAMIC_TYPE_X509_ACERT);
73597359

73607360
return;
73617361
}

0 commit comments

Comments
 (0)