Fix memory leaks found by Valgrind.

This commit is contained in:
Guus Sliepen 2014-12-24 17:31:33 +01:00
parent d00d8dbb9b
commit 3df86ef17b
3 changed files with 19 additions and 18 deletions

View file

@ -99,5 +99,7 @@ void crypto_init(void) {
void crypto_exit(void) {
EVP_cleanup();
ERR_free_strings();
ENGINE_cleanup();
random_exit();
}