unit-tests: Fix memory leak in ntru tests
This commit is contained in:
1 parent
045f25fc81
commit
58d8c52190
1 file changed
+2
@@ -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