From 6e47da6363e9e32c14f0c3a750ca04cd189c85fe Mon Sep 17 00:00:00 2001 From: Harry Sintonen Date: Tue, 1 Feb 2022 23:48:19 +0200 Subject: Add missing CRYPTO_THREAD_cleanup_local of default_context_thread_local CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17622) (cherry picked from commit 8e012cdc896ec6a98b45119b127b230cbbb6e93b) --- crypto/context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/context.c') diff --git a/crypto/context.c b/crypto/context.c index a05009a3ef..b50761dd8f 100644 --- a/crypto/context.c +++ b/crypto/context.c @@ -156,6 +156,7 @@ DEFINE_RUN_ONCE_STATIC(default_context_do_init) void ossl_lib_ctx_default_deinit(void) { context_deinit(&default_context_int); + CRYPTO_THREAD_cleanup_local(&default_context_thread_local); } static OSSL_LIB_CTX *get_thread_default_context(void) -- cgit v1.2.3