unit-tests: Fix memory leak in ntru tests

This commit is contained in:
Tobias Brunner
2014-03-27 10:52:45 +01:00
parent 045f25fc81
commit 58d8c52190
@@ -1171,6 +1171,8 @@ START_TEST(test_ntru_privkey)
chunk_free(&encoding); chunk_free(&encoding);
privkey->destroy(privkey); privkey->destroy(privkey);
pubkey->destroy(pubkey); pubkey->destroy(pubkey);
drbg->destroy(drbg);
entropy->destroy(entropy);
} }
END_TEST END_TEST