unit-tests: Fix memory leak in ntru tests
This commit is contained in:
@@ -1171,6 +1171,8 @@ START_TEST(test_ntru_privkey)
|
||||
chunk_free(&encoding);
|
||||
privkey->destroy(privkey);
|
||||
pubkey->destroy(pubkey);
|
||||
drbg->destroy(drbg);
|
||||
entropy->destroy(entropy);
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
||||
Reference in New Issue
Block a user