diff options
Diffstat (limited to 'ext/dom/xpath.c')
-rw-r--r-- | ext/dom/xpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index cc9e8f3600..a0cbf46773 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -66,12 +66,12 @@ PHP_FUNCTION(dom_xpath_xpath) if (intern != NULL) { oldctx = (xmlXPathContextPtr)intern->ptr; if (oldctx != NULL) { - decrement_document_reference(intern TSRMLS_CC); + php_libxml_decrement_doc_ref((php_libxml_node_object *)intern TSRMLS_CC); xmlXPathFreeContext(oldctx); } intern->ptr = ctx; intern->document = docobj->document; - increment_document_reference(intern, docp TSRMLS_CC); + php_libxml_increment_doc_ref((php_libxml_node_object *)intern, docp TSRMLS_CC); } } /* }}} end dom_xpath_xpath */ |