mirror of
https://github.com/php/php-src.git
synced 2025-01-19 02:03:47 +08:00
- fix bug #54061, memory leak in openssl_decrypt
This commit is contained in:
parent
b526a6ef44
commit
f922e31129
@ -4815,6 +4815,7 @@ PHP_FUNCTION(openssl_decrypt)
|
||||
if (base64_str) {
|
||||
efree(base64_str);
|
||||
}
|
||||
EVP_CIPHER_CTX_cleanup(&cipher_ctx);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user