set p2 to null before next iteration

This commit is contained in:
Ruby Martin
2025-06-10 16:40:50 -06:00
parent 981ba4b14c
commit 1321e00e45

View File

@@ -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();