Skip to content
Snippets Groups Projects
Commit ad2d5175 authored by Sebastian Pohlschmidt's avatar Sebastian Pohlschmidt Committed by Jay Satiro
Browse files

openssl: Free modules on cleanup

Curl_ossl_init calls OPENSSL_load_builtin_modules() but
Curl_ossl_cleanup doesn't make a call to free these modules.

Bug: https://github.com/bagder/curl/issues/526
parent 1ee0aded
No related branches found
No related tags found
No related merge requests found
......@@ -746,6 +746,9 @@ void Curl_ossl_cleanup(void)
#else
ERR_remove_state(0);
#endif
/* Free all memory allocated by all configuration modules */
CONF_modules_free();
}
/*
......
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