summaryrefslogtreecommitdiff
path: root/ext/xsl/xsltprocessor.c
diff options
context:
space:
mode:
authorYiduo (David) Wang <davidw@php.net>2007-10-07 05:15:07 +0000
committerYiduo (David) Wang <davidw@php.net>2007-10-07 05:15:07 +0000
commit95da0dc5700ee9d41f1e5664c8167cd37023dbd3 (patch)
treee4c6288af1a3f260bbd705c83c397741233d60ea /ext/xsl/xsltprocessor.c
parentd20f6ecac8e2db5b0595c4fdef4cae221594ab88 (diff)
downloadphp-git-95da0dc5700ee9d41f1e5664c8167cd37023dbd3.tar.gz
Added macros for managing zval refcounts and is_ref statuses
Diffstat (limited to 'ext/xsl/xsltprocessor.c')
-rw-r--r--ext/xsl/xsltprocessor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c
index 01c3a0201b..3fb9f3dd96 100644
--- a/ext/xsl/xsltprocessor.c
+++ b/ext/xsl/xsltprocessor.c
@@ -700,7 +700,7 @@ PHP_FUNCTION(xsl_xsltprocessor_set_parameter)
convert_to_string_with_converter(*entry, UG(utf8_conv));
ALLOC_ZVAL(new_string);
- ZVAL_ADDREF(*entry);
+ Z_ADDREF_P(*entry);
COPY_PZVAL_TO_ZVAL(*new_string, *entry);
zend_hash_update(intern->parameter, string_key.s, tmp_len, &new_string, sizeof(zval*), NULL);