diff options
Diffstat (limited to 'ext/dom/cdatasection.c')
-rw-r--r-- | ext/dom/cdatasection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/cdatasection.c b/ext/dom/cdatasection.c index 00a65481db..49b222fbc5 100644 --- a/ext/dom/cdatasection.c +++ b/ext/dom/cdatasection.c @@ -66,9 +66,9 @@ PHP_FUNCTION(dom_cdatasection_cdatasection) if (intern != NULL) { oldnode = (xmlNodePtr)intern->ptr; if (oldnode != NULL) { - node_free_resource(oldnode TSRMLS_CC); + php_libxml_node_free_resource(oldnode TSRMLS_CC); } - php_dom_set_object(intern, nodep TSRMLS_CC); + php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC); } } /* }}} end dom_cdatasection_cdatasection */ |