Skip to content

Commit 1690ad7

Browse files
committed
acert: correct XFREE call.
1 parent ac788ec commit 1690ad7

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)