Skip to content
Snippets Groups Projects
Commit dafc652f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent c16dd085
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment