diff options
author | Stefan Esser <sesser@php.net> | 2005-01-21 16:03:47 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2005-01-21 16:03:47 +0000 |
commit | 581265f4d19ae5433e6d5f762912b68531e7a7b6 (patch) | |
tree | 60d75f695d11a8c81e46508b16ef9f5862c0379f | |
parent | 5e1b127864af1809d87869b9402a5ebc290335de (diff) | |
download | php-git-581265f4d19ae5433e6d5f762912b68531e7a7b6.tar.gz |
Correctly initialize ZVAL
-rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 5704934190..a746cdc127 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -425,7 +425,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(¤t, (const unsigned char **) &p, endptr, &var_hash TSRMLS_CC)) { php_set_session_var(name, namelen, current, &var_hash TSRMLS_CC); } |