diff options
Diffstat (limited to 'Zend/zend_closures.c')
-rw-r--r-- | Zend/zend_closures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_closures.c b/Zend/zend_closures.c index 4d325d19e6..20cbd90669 100644 --- a/Zend/zend_closures.c +++ b/Zend/zend_closures.c @@ -258,7 +258,7 @@ static zend_object_value zend_closure_clone(zval *zobject TSRMLS_DC) /* {{{ */ zend_closure *closure = (zend_closure *)zend_object_store_get_object(zobject TSRMLS_CC); zval result; - zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr); + zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr TSRMLS_CC); return Z_OBJVAL(result); } /* }}} */ |