diff options
author | Andi Gutmans <andi@php.net> | 1999-12-24 15:22:11 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-12-24 15:22:11 +0000 |
commit | 62b2087a84018cf19e569b0256f2c3cbf4179470 (patch) | |
tree | 7afcdb49f6d58999e087be706391269d9bb90d32 /Zend/zend_operators.c | |
parent | 946df29029be9eb9c4d09696e706dab99e7d8e50 (diff) | |
download | php-git-62b2087a84018cf19e569b0256f2c3cbf4179470.tar.gz |
- Create two new macro's. ALLOC_ZVAL() and FREE_ZVAL(z) and make Zend use
them.
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index ed4be2cc0b..60f568a3df 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -339,7 +339,7 @@ ZEND_API void convert_to_string(zval *op) static void convert_scalar_to_array(zval *op, int type) { - zval *entry = (zval *) emalloc(sizeof(zval)); + zval *entry = ALLOC_ZVAL(); *entry = *op; INIT_PZVAL(entry); |