Fixed memory leak when variables_order does not contain 'S'.

This commit is contained in:
Ilia Alshanetsky 2005-03-28 18:09:28 +00:00
parent caeeebebc1
commit ec841c8e12

View File

@ -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]) {