From b17b190695fc4b2e96a0294a5cb5cbba71e50b06 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 26 Aug 2024 15:00:27 -0500 Subject: [PATCH] tests/api.c: add missing deallocations in test_wc_dilithium_sign_vfy(). --- tests/api.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/api.c b/tests/api.c index 4098186e2..f569163e3 100644 --- a/tests/api.c +++ b/tests/api.c @@ -32439,6 +32439,10 @@ static int test_wc_dilithium_sign_vfy(void) wc_dilithium_free(key); #endif + wc_FreeRng(&rng); + XFREE(sig, NULL, DYNAMIC_TYPE_TMP_BUFFER); + XFREE(key, NULL, DYNAMIC_TYPE_TMP_BUFFER); + #endif return EXPECT_RESULT(); }