]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Thu, 8 Jan 2009 18:37:59 +0000 (18:37 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 8 Jan 2009 18:37:59 +0000 (18:37 +0000)
Zend/zend_object_handlers.c

index 75d2f1c272db46d2e49ff75becbbb3e546ee0eea..576fc652e94dfbdcbfe403e255c080bcb7ccc521 100644 (file)
@@ -792,6 +792,8 @@ static inline zend_class_entry * zend_get_function_root_class(zend_function *fbc
 static inline union _zend_function *zend_get_user_call_function(zend_object *zobj, zstr method_name, int method_len) /* {{{ */
 {
        zend_internal_function *call_user_call = emalloc(sizeof(zend_internal_function));
+       TSRMLS_FETCH();
+
        call_user_call->type = ZEND_INTERNAL_FUNCTION;
        call_user_call->module = zobj->ce->module;
        call_user_call->handler = zend_std_call_user_call;