diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-26 21:21:33 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-26 21:21:33 +0000 |
commit | 235386b24569eb5d41baffa88151550ba04992ce (patch) | |
tree | 0db42a31df098a289a813527b823098d41bd5312 /Zend/zend_operators.c | |
parent | c517633b4963b684fd9f43704a72bcbbe4d30bf2 (diff) | |
download | php-git-235386b24569eb5d41baffa88151550ba04992ce.tar.gz |
Change ALLOC_ZVAL() semantics
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 60f568a3df..6256155f3e 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -339,8 +339,9 @@ ZEND_API void convert_to_string(zval *op) static void convert_scalar_to_array(zval *op, int type) { - zval *entry = ALLOC_ZVAL(); + zval *entry; + ALLOC_ZVAL(entry); *entry = *op; INIT_PZVAL(entry); |