summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2005-01-21 16:04:54 +0000
committerStefan Esser <sesser@php.net>2005-01-21 16:04:54 +0000
commit75cb09dec48182b8bc11e5cc40473b76f37a9cb3 (patch)
tree4e72e20f28be0d0c49508502e609239a31f060ea /ext/session
parent3d37f4d2cd5c0bdf25006cc2a91899b17c69b1ed (diff)
downloadphp-git-75cb09dec48182b8bc11e5cc40473b76f37a9cb3.tar.gz
MFH
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 043a127cf0..25356ed7c2 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -408,7 +408,7 @@ PS_SERIALIZER_DECODE_FUNC(php_binary)
p += namelen + 1;
if (has_value) {
- MAKE_STD_ZVAL(current);
+ ALLOC_INIT_ZVAL(current);
if (php_var_unserialize(&current, (const unsigned char **)&p, endptr, &var_hash TSRMLS_CC)) {
php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC);
}
@@ -488,7 +488,7 @@ PS_SERIALIZER_DECODE_FUNC(php)
q++;
if (has_value) {
- MAKE_STD_ZVAL(current);
+ ALLOC_INIT_ZVAL(current);
if (php_var_unserialize(&current, (const unsigned char **)&q, endptr, &var_hash TSRMLS_CC)) {
php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC);
}