From 1ee7b8b97c90e8e59627bfcbda3714f18368a9e1 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 14 Apr 2016 21:28:54 +0100 Subject: Fix ex_data locks issue Travis identified a problem with freeing the ex_data locks which wasn't quite right in ff2344052. Trying to fix it identified a further problem: the ex_data locks are cleaned up by OPENSSL_cleanup(), which is called explicitly by CRYPTO_mem_leaks(), but then later the BIO passed to CRYPTO_mem_leaks() is freed. An attempt is then made to use the ex_data lock already freed. Reviewed-by: Tim Hudson --- crypto/include/internal/cryptlib_int.h | 1 - 1 file changed, 1 deletion(-) (limited to 'crypto/include') diff --git a/crypto/include/internal/cryptlib_int.h b/crypto/include/internal/cryptlib_int.h index fd68522936..a38ac18d1f 100644 --- a/crypto/include/internal/cryptlib_int.h +++ b/crypto/include/internal/cryptlib_int.h @@ -65,7 +65,6 @@ struct thread_local_inits_st { }; int ossl_init_thread_start(uint64_t opts); -void ex_data_cleanup(void); /* * OPENSSL_INIT flags. The primary list of these is in crypto.h. Flags below -- cgit v1.2.3