Add some missing cleanup calls to de-init
[openssl.git] / crypto / init.c
index d50d7f19e8eb312746a24e72f3771d2c18a2d491..dc15b1d83a7e4f61413ee0f039947d629fcd834c 100644 (file)
@@ -483,7 +483,9 @@ void OPENSSL_cleanup(void)
     ENGINE_cleanup();
 #endif
     CRYPTO_cleanup_all_ex_data();
+    BIO_sock_cleanup();
     EVP_cleanup();
+    OBJ_cleanup();
     CONF_modules_free();
     RAND_cleanup();
     base_inited = 0;