diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index ac4bd19be..57d945ab9 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -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(); } /*