mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: Fixed bug #72476 (Memleak in jit_stack)
This commit is contained in:
commit
dad500ef6a
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ static PHP_MSHUTDOWN_FUNCTION(pcre)
|
|||
/* {{{ PHP_RINIT_FUNCTION(pcre) */
|
||||
static PHP_RINIT_FUNCTION(pcre)
|
||||
{
|
||||
if (PCRE_G(jit)) {
|
||||
if (PCRE_G(jit) && jit_stack == NULL) {
|
||||
jit_stack = pcre_jit_stack_alloc(PCRE_JIT_STACK_MIN_SIZE,PCRE_JIT_STACK_MAX_SIZE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue