forked from wolfSSL/wolfssl
tests/api.c: add missing deallocations in test_wc_dilithium_sign_vfy().
This commit is contained in:
@ -32439,6 +32439,10 @@ static int test_wc_dilithium_sign_vfy(void)
|
|||||||
wc_dilithium_free(key);
|
wc_dilithium_free(key);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
wc_FreeRng(&rng);
|
||||||
|
XFREE(sig, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
|
XFREE(key, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
return EXPECT_RESULT();
|
return EXPECT_RESULT();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user