diff options
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); |
