CID 327280 use after free in test case
This commit is contained in:
parent
36e67af0f8
commit
228544c31e
@ -2304,7 +2304,9 @@ static int test_wolfSSL_CertManagerAPI(void)
|
||||
#endif
|
||||
|
||||
ExpectIntEQ(wolfSSL_CertManager_up_ref(cm), 1);
|
||||
wolfSSL_CertManagerFree(cm);
|
||||
if (EXPECT_SUCCESS()) {
|
||||
wolfSSL_CertManagerFree(cm);
|
||||
}
|
||||
wolfSSL_CertManagerFree(cm);
|
||||
cm = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user