The branch master has been updated
       via  165f1c3ef39680471339d21b9f6c12ea86b4a26a (commit)
      from  0822d41b6d54132df96c02cc6f6fa9b179378351 (commit)


- Log -----------------------------------------------------------------
commit 165f1c3ef39680471339d21b9f6c12ea86b4a26a
Author: Richard Levitte <[email protected]>
Date:   Sun Mar 26 20:01:44 2017 +0200

    In err_cleanup(), cleanup the thread local storage too
    
    Fixes #3033
    
    Reviewed-by: Matt Caswell <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/3035)

-----------------------------------------------------------------------

Summary of changes:
 crypto/err/err.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/err/err.c b/crypto/err/err.c
index 44a293a..d5cad05 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -259,6 +259,7 @@ DEFINE_RUN_ONCE_STATIC(do_err_strings_init)
 
 void err_cleanup(void)
 {
+    CRYPTO_THREAD_cleanup_local(&err_thread_local);
     CRYPTO_THREAD_lock_free(err_string_lock);
     err_string_lock = NULL;
 }
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to