summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-03-24 00:17:16 (GMT)
committerAntony Dovgal <tony2001@php.net>2005-03-24 00:17:16 (GMT)
commit76e07faf8731cf8013724a64d53236b97c938714 (patch)
tree897c9d6a8d6724b6691a34d9fcaed118be6a623a /ext
parent2cba0ab304ccc5e4ee28ee87b21387936b17617b (diff)
downloadphp-76e07faf8731cf8013724a64d53236b97c938714.tar.gz
fix leak when register_long_arrays is off
Diffstat (limited to 'ext')
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 9b3552e..e649f81 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -540,7 +540,7 @@ static void php_session_track_init(TSRMLS_D)
ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 2, 1);
}
else {
- ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 1, 1);
+ ZEND_SET_GLOBAL_VAR_WITH_LENGTH("_SESSION", sizeof("_SESSION"), PS(http_session_vars), 1, 0);
}
}