From 1321e00e45431764487fe644fa6b7eb98ce991d1 Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Tue, 10 Jun 2025 16:40:50 -0600 Subject: [PATCH] set p2 to null before next iteration --- tests/api.c | 1 + 1 file changed, 1 insertion(+) 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();