diff --git a/tests/api.c b/tests/api.c index ae72e8295..64df1c3d4 100644 --- a/tests/api.c +++ b/tests/api.c @@ -19592,6 +19592,7 @@ static int test_wolfSSL_d2i_ASN1_INTEGER(void) reEncoded = NULL; wolfSSL_ASN1_INTEGER_free(a); a = NULL; + p2 = NULL; } #endif /* OPENSSL_EXTRA */ return EXPECT_RESULT();