diff options
author | Marcus Boerger <helly@php.net> | 2004-03-30 18:39:53 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-03-30 18:39:53 +0000 |
commit | b4bc994680b87be8f6cb79f93a672f563f227e9e (patch) | |
tree | 4c2e28dcf2abebbf4de3dee3c2bf7a774677934d | |
parent | 52303217317051689db6818927b710c8a759624c (diff) | |
download | php-git-b4bc994680b87be8f6cb79f93a672f563f227e9e.tar.gz |
TSRM fix
-rw-r--r-- | Zend/zend_reflection_api.c | 1 | ||||
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index e19071986f..2242e0f9f3 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -3063,6 +3063,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg int add_reflection_class = va_arg(args, int); if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) { + TSRMLS_FETCH(); if (add_reflection_class) { ALLOC_ZVAL(zclass); reflection_class_factory(*pce, zclass TSRMLS_CC); diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index e19071986f..2242e0f9f3 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3063,6 +3063,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg int add_reflection_class = va_arg(args, int); if ((*pce)->module && !strcasecmp((*pce)->module->name, module->name)) { + TSRMLS_FETCH(); if (add_reflection_class) { ALLOC_ZVAL(zclass); reflection_class_factory(*pce, zclass TSRMLS_CC); |