summaryrefslogtreecommitdiff
path: root/ext/hyperwave
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-12-24 15:43:39 +0000
committerAndi Gutmans <andi@php.net>1999-12-24 15:43:39 +0000
commit3f6e00e48ddef5ab2dd73aa093c3654edd6ca534 (patch)
treedbc0e52fe06f082ab90885c03c8ee6b316b42beb /ext/hyperwave
parent62b2087a84018cf19e569b0256f2c3cbf4179470 (diff)
downloadphp-git-3f6e00e48ddef5ab2dd73aa093c3654edd6ca534.tar.gz
- Use ALLOC_ZVAL() in PHP. Finding the places to put FREE_ZVAL(z) is much
more tricky and I'm not sure how many places this is. zval allocations were only made directly in 11 places.
Diffstat (limited to 'ext/hyperwave')
-rw-r--r--ext/hyperwave/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index 72223fbd80..6de2d88784 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -1175,7 +1175,7 @@ php_printf("%s\n", ptr);
while(attrname != NULL) {
char *name;
- user_arr = (zval *) emalloc(sizeof(zval));
+ user_arr = ALLOC_ZVAL();
if (array_init(user_arr) == FAILURE) {
efree(object);
RETURN_FALSE;