From 034d684089e2361aa9688286dffdb260293ed7e3 Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Sat, 18 May 2002 10:05:21 +0000 Subject: [PATCH] WS fixes --- ext/domxml/php_domxml.c | 6 +++--- 1 file 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); } } -- 2.50.1