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 /ext/rpc/com/COM.c | |
| parent | c517633b4963b684fd9f43704a72bcbbe4d30bf2 (diff) | |
| download | php-git-235386b24569eb5d41baffa88151550ba04992ce.tar.gz | |
Change ALLOC_ZVAL() semantics
Diffstat (limited to 'ext/rpc/com/COM.c')
| -rw-r--r-- | ext/rpc/com/COM.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/rpc/com/COM.c b/ext/rpc/com/COM.c index f8659f0f78..a876e7afd3 100644 --- a/ext/rpc/com/COM.c +++ b/ext/rpc/com/COM.c @@ -416,7 +416,7 @@ static void php_variant_to_pval(VARIANTARG *var_arg, pval *pval_arg, int persist pval_arg->refcount=1; zend_hash_init(pval_arg->value.obj.properties, 0, NULL, ZVAL_PTR_DTOR, 0); - handle = ALLOC_ZVAL(); + ALLOC_ZVAL(handle); handle->type = IS_LONG; handle->value.lval = zend_list_insert(var_arg->pdispVal, le_idispatch); pval_copy_constructor(handle); @@ -915,7 +915,7 @@ void php_COM_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_r var_reset(object); return; } - object_handle = ALLOC_ZVAL(); + ALLOC_ZVAL(object_handle); *object_handle = *return_value; pval_copy_constructor(object_handle); INIT_PZVAL(object_handle); |
