]> granicus.if.org Git - php/commitdiff
TSRM fix
authorMarcus Boerger <helly@php.net>
Tue, 30 Mar 2004 18:39:53 +0000 (18:39 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 30 Mar 2004 18:39:53 +0000 (18:39 +0000)
Zend/zend_reflection_api.c
ext/reflection/php_reflection.c

index e19071986ff004b10156f44ec26af18542903670..2242e0f9f3354a2e0c4f7a822359db34698eb23a 100644 (file)
@@ -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);
index e19071986ff004b10156f44ec26af18542903670..2242e0f9f3354a2e0c4f7a822359db34698eb23a 100644 (file)
@@ -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);