Skip to content

Commit b17b190

Browse files
committed
tests/api.c: add missing deallocations in test_wc_dilithium_sign_vfy().
1 parent 60f438f commit b17b190

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/api.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32439,6 +32439,10 @@ static int test_wc_dilithium_sign_vfy(void)
3243932439
wc_dilithium_free(key);
3244032440
#endif
3244132441

32442+
wc_FreeRng(&rng);
32443+
XFREE(sig, NULL, DYNAMIC_TYPE_TMP_BUFFER);
32444+
XFREE(key, NULL, DYNAMIC_TYPE_TMP_BUFFER);
32445+
3244232446
#endif
3244332447
return EXPECT_RESULT();
3244432448
}

0 commit comments

Comments
 (0)