summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-03-28 18:09:28 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2005-03-28 18:09:28 (GMT)
commitec841c8e124f9ef8c44212e7e330c3729fff5a3c (patch)
tree2488f0219305e66fddff901ff4a14ed43466b5ee /main
parentcaeeebebc1a2c7654a9efd35678be34ce7f9a51e (diff)
downloadphp-ec841c8e124f9ef8c44212e7e330c3729fff5a3c.tar.gz
Fixed memory leak when variables_order does not contain 'S'.
Diffstat (limited to 'main')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index f9608a2..8379cfa 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]) {