1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04: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:
Sebastian Pohlschmidt 2015-11-13 16:07:11 -05:00 committed by Jay Satiro
parent 1ee0aded89
commit ad2d517545

View File

@ -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();
}
/*