mirror of
https://github.com/curl/curl.git
synced 2026-06-05 06:44:15 +03: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue