summaryrefslogtreecommitdiff
path: root/ext/dom/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/text.c')
-rw-r--r--ext/dom/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/text.c b/ext/dom/text.c
index 980c7c594d..2e93bdd9a2 100644
--- a/ext/dom/text.c
+++ b/ext/dom/text.c
@@ -68,9 +68,9 @@ PHP_FUNCTION(dom_text_text)
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_text_text */