summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r--ext/domxml/php_domxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 476fdf44a1..8f8309dc56 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -2519,7 +2519,7 @@ static void php_xpathptr_eval(INTERNAL_FUNCTION_PARAMETERS, int mode, int expr)
convert_to_string(str);
if (contextnode) {
- contextnodep = php_dom_get_object(contextnode, le_domxmlnodep, 0);
+ contextnodep = php_dom_get_object(contextnode, le_domxmlnodep, 0 TSRMLS_CC);
}
ctxp->node = contextnodep;