mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix memory leak with not freeing OpenSSL errors
This commit is contained in:
parent
47e7662a13
commit
a63d0f55da
@ -1277,6 +1277,10 @@ PHP_MSHUTDOWN_FUNCTION(openssl)
|
|||||||
{
|
{
|
||||||
EVP_cleanup();
|
EVP_cleanup();
|
||||||
|
|
||||||
|
#if OPENSSL_VERSION_NUMBER >= 0x00090805f
|
||||||
|
ERR_free_strings();
|
||||||
|
#endif
|
||||||
|
|
||||||
php_unregister_url_stream_wrapper("https" TSRMLS_CC);
|
php_unregister_url_stream_wrapper("https" TSRMLS_CC);
|
||||||
php_unregister_url_stream_wrapper("ftps" TSRMLS_CC);
|
php_unregister_url_stream_wrapper("ftps" TSRMLS_CC);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user