diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-03-28 18:09:28 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-03-28 18:09:28 +0000 |
commit | ec841c8e124f9ef8c44212e7e330c3729fff5a3c (patch) | |
tree | 2488f0219305e66fddff901ff4a14ed43466b5ee /main/php_variables.c | |
parent | caeeebebc1a2c7654a9efd35678be34ce7f9a51e (diff) | |
download | php-git-ec841c8e124f9ef8c44212e7e330c3729fff5a3c.tar.gz |
Fixed memory leak when variables_order does not contain 'S'.
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index f9608a2655..8379cfa955 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -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]) { |