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:
Daniel Stenberg 2003-08-19 07:51:09 +00:00
parent c16dd085f1
commit dafc652f63

View File

@ -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