Skip to content

Commit

Permalink
Merge pull request #8034 from philljj/acert_fix_staticmem_build
Browse files Browse the repository at this point in the history
acert: correct XFREE call.
  • Loading branch information
douzzer authored Oct 2, 2024
2 parents ac788ec + 1690ad7 commit 925fbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 925fbf3

Please sign in to comment.