summaryrefslogtreecommitdiff
path: root/ext/xsl/php_xsl.c
diff options
context:
space:
mode:
authorandrey <andrey@php.net>2012-06-29 14:40:41 +0300
committerandrey <andrey@php.net>2012-06-29 14:40:41 +0300
commit1ac611f24f03728e4d9cd717e83331e2e17184d2 (patch)
tree69dceee0471cad1a1c518e8333f0b908e52aa454 /ext/xsl/php_xsl.c
parentf826ea093f8317dda2e5476db128dc5ad3eba442 (diff)
parente6cf7d774519300c08399cae5bfba90e33749727 (diff)
downloadphp-git-1ac611f24f03728e4d9cd717e83331e2e17184d2.tar.gz
Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3
Diffstat (limited to 'ext/xsl/php_xsl.c')
-rw-r--r--ext/xsl/php_xsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c
index 7262e7804a..6f7237d57d 100644
--- a/ext/xsl/php_xsl.c
+++ b/ext/xsl/php_xsl.c
@@ -129,7 +129,7 @@ zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC)
intern->profiling = NULL;
zend_object_std_init(&intern->std, class_type TSRMLS_CC);
- zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
+ zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_property_ctor, (void *) &tmp, sizeof(zval *));
ALLOC_HASHTABLE(intern->parameter);
zend_hash_init(intern->parameter, 0, NULL, ZVAL_PTR_DTOR, 0);
ALLOC_HASHTABLE(intern->registered_phpfunctions);