mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Loren Kirkby pointed out that we need to call CRYPTO_cleanup_all_ex_data()
when we cleanup the SSL stuff to not leak any memory. I wish this was documented anywhere.
This commit is contained in:
parent
c16dd085f1
commit
dafc652f63
@ -437,6 +437,8 @@ void Curl_SSL_cleanup(void)
|
||||
ENGINE_cleanup();
|
||||
#endif
|
||||
|
||||
CRYPTO_cleanup_all_ex_data();
|
||||
|
||||
init_ssl=0; /* not inited any more */
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user