Skip to content

Commit d522feb

Browse files
committed
Free X509 object
1 parent 958b5ac commit d522feb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41256,7 +41256,8 @@ static int test_wolfSSL_X509_bad_altname(void)
4125641256
* name of "a*\0*". Ensure that it does not match "aaaaa" */
4125741257
ExpectIntNE(wolfSSL_X509_check_host(x509, name, nameLen,
4125841258
WOLFSSL_ALWAYS_CHECK_SUBJECT, NULL), 1);
41259-
41259+
X509_free(x509);
41260+
4126041261
#endif
4126141262
return EXPECT_RESULT();
4126241263
}

0 commit comments

Comments
 (0)