mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Fixed memory leak when variables_order does not contain 'S'.
This commit is contained in:
parent
caeeebebc1
commit
ec841c8e12
@ -668,7 +668,7 @@ int php_hash_environment(TSRMLS_D)
|
||||
}
|
||||
|
||||
for (i=0; i<num_track_vars; i++) {
|
||||
if (jit_initialization && auto_global_records[i].jit_initialization) {
|
||||
if ((jit_initialization && auto_global_records[i].jit_initialization) || _gpc_flags[i]) {
|
||||
continue;
|
||||
}
|
||||
if (!PG(http_globals)[i]) {
|
||||
|
Loading…
Reference in New Issue
Block a user