diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-02-04 11:43:07 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-02-04 11:43:07 +0000 |
commit | 488f6a706d66a97f4c9d5cc5671ce179d0662491 (patch) | |
tree | 18d57c97d9b4f9bcefc54374ed7094414d8715d2 /ext/domxml/php_domxml.c | |
parent | 1f06429edb409d7ca8a8924dc7b3548f462e80b4 (diff) | |
download | php-git-488f6a706d66a97f4c9d5cc5671ce179d0662491.tar.gz |
Fix ZTS build
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); |