diff options
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 0979fd4541..c26131162d 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -3468,6 +3468,9 @@ PHP_FUNCTION(domxml_xslt_stylesheet_file) static char *php_domxslt_string_to_xpathexpr(const char *str) { const xmlChar *string = (const xmlChar *)str; + + TSRMLS_FETCH(); + xmlChar *value; if (xmlStrchr(string, '"')) { @@ -3501,6 +3504,8 @@ static char **php_domxslt_make_params(zval *idvars, int xpath_params) char **params = NULL; int i = 0; + TSRMLS_FETCH(); + parht = HASH_OF(idvars); parsize = (2 * zend_hash_num_elements(parht) + 1) * sizeof(char *); params = (char **)emalloc(parsize); |