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 13:25:26 +0000 (09:25 -0400)
commit77b072504ec464eac5e0f9aab19cadb9c4e311d1
tree9607779b271291a6785f270f72bd7a12b5f6d792
parent0e0a9ae30baff1c886200f4ee682f893ec8eda30
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)
(cherry picked from commit af6de400b49c011600cfd557319d1142da6e5cbd)
crypto/err/err.c