mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +08:00
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
This commit is contained in:
parent
1ee0aded89
commit
ad2d517545
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user