From: Christian Stocker Date: Sat, 18 May 2002 10:05:21 +0000 (+0000) Subject: WS fixes X-Git-Tag: php-4.3.0dev-ZendEngine2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=034d684089e2361aa9688286dffdb260293ed7e3;p=php WS fixes --- 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); } }