summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
authorChristian Stocker <chregu@php.net>2002-05-18 10:05:21 +0000
committerChristian Stocker <chregu@php.net>2002-05-18 10:05:21 +0000
commit034d684089e2361aa9688286dffdb260293ed7e3 (patch)
tree77bfaccd9a710e1b430f6387bfaf77e55413a714 /ext/domxml/php_domxml.c
parentf275fe0b0b621dc22208a78281637476cfe6ee11 (diff)
downloadphp-git-034d684089e2361aa9688286dffdb260293ed7e3.tar.gz
WS fixes
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r--ext/domxml/php_domxml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 6ca9d6903a..f62099068d 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -505,13 +505,13 @@ static inline void node_wrapper_dtor(xmlNodePtr node)
return;
wrapper = dom_object_get_data(node);
-
+
if (wrapper != NULL) {
refcount = wrapper->refcount;
zval_ptr_dtor(&wrapper);
- /*only set it to null, if refcount was 1 before, otherwise it has still needed references */
+ /*only set it to null, if refcount was 1 before, otherwise it has still needed references */
if (refcount == 1) {
- dom_object_set_data(node, NULL);
+ dom_object_set_data(node, NULL);
}
}