Skip to content

Commit

Permalink
tests/api.c: add missing deallocations in test_wc_dilithium_sign_vfy().
Browse files Browse the repository at this point in the history
  • Loading branch information
douzzer committed Aug 26, 2024
1 parent 60f438f commit b17b190
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b17b190

Please sign in to comment.