summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}