diff options
author | Rob Richards <rrichards@php.net> | 2003-12-17 18:59:05 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2003-12-17 18:59:05 +0000 |
commit | d1b8a0f2a97c16ab16147b4da9833bb62fa9ebc3 (patch) | |
tree | 87397476a1585ff8f660c9777d5dad7f4a5e8d66 /ext/dom/php_dom.c | |
parent | fec7c2997a9c23fe68b406a1842c52db6c7732f0 (diff) | |
download | php-git-d1b8a0f2a97c16ab16147b4da9833bb62fa9ebc3.tar.gz |
no longer need to cleanup temp var
Diffstat (limited to 'ext/dom/php_dom.c')
-rw-r--r-- | ext/dom/php_dom.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 44e56a557e..0b3babb6d3 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -267,10 +267,6 @@ void dom_write_property(zval *object, zval *member, zval *value TSRMLS_DC) } if (ret == SUCCESS) { hnd->write_func(obj, value TSRMLS_CC); - if (! PZVAL_IS_REF(value) && value->refcount == 0) { - value->refcount++; - zval_ptr_dtor(&value); - } } else { std_hnd = zend_get_std_object_handlers(); std_hnd->write_property(object, member, value TSRMLS_CC); |