Add BIO_get_new_index()
[openssl.git] / crypto / bio / bio_lib.c
index 98f3707ea5881782587779612b0cd351e9c23eb4..8a00103e2c49a706c45825833cfed589c8135380 100644 (file)
@@ -594,5 +594,7 @@ void bio_cleanup(void)
     bio_sock_cleanup_int();
     CRYPTO_THREAD_lock_free(bio_lookup_lock);
     bio_lookup_lock = NULL;
+    CRYPTO_THREAD_lock_free(bio_type_lock);
+    bio_type_lock = NULL;
 #endif
 }