Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index f9dca4e..ff68691 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -361,6 +361,7 @@
 
 	if (bio_stdout != NULL) BIO_free(bio_stdout);
 
+	ERR_free_strings();
 	ERR_remove_state(0);
 	EVP_cleanup();
 	CRYPTO_mem_leaks(bio_err);