Skip to content

Commit d9b90a4

Browse files
committed
* fix assync Scope new issue async_new_scope
1 parent 0901cb3 commit d9b90a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scope.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ zend_async_scope_t * async_new_scope(zend_async_scope_t * parent_scope, const bo
11361136
scope->scope.scope_object = NULL;
11371137

11381138
if (with_zend_object) {
1139-
scope_object = zend_object_alloc(sizeof(async_scope_object_t), async_ce_scope);
1139+
scope_object = zend_object_alloc_ex(sizeof(async_scope_object_t), async_ce_scope);
11401140

11411141
zend_object_std_init(&scope_object->std, async_ce_scope);
11421142
object_properties_init(&scope_object->std, async_ce_scope);

0 commit comments

Comments
 (0)