mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
In err_cleanup(), cleanup the thread local storage too
Fixes #3033 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3035)
This commit is contained in:
parent
0822d41b6d
commit
165f1c3ef3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user