Fix the error handling in ERR_get_state:
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 19 Jun 2017 09:18:44 +0000 (11:18 +0200)
committerRich Salz <rsalz@openssl.org>
Mon, 19 Jun 2017 12:56:50 +0000 (08:56 -0400)
commitaf6de400b49c011600cfd557319d1142da6e5cbd
tree9aa1476a7bb1a14f8f7c8b5ff93c1b3ff0ae91c3
parent9b579777c5f84453940700fbd6f99abc09fe997e
Fix the error handling in ERR_get_state:
- Ignoring the return code of ossl_init_thread_start created a memory leak.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3712)
crypto/err/err.c