Commit 165f1c3e authored by Richard Levitte's avatar Richard Levitte
Browse files

In err_cleanup(), cleanup the thread local storage too

parent 0822d41b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}