fix bug
This commit is contained in:
parent
f419ce8c2a
commit
dfde697222
|
@ -3307,6 +3307,7 @@ PHP_METHOD(Collection, windowed)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Bucket* bucket = start + pos + snapshot_idx;
|
Bucket* bucket = start + pos + snapshot_idx;
|
||||||
|
Z_TRY_ADDREF(bucket->val);
|
||||||
zend_hash_next_index_insert(snapshot, &bucket->val);
|
zend_hash_next_index_insert(snapshot, &bucket->val);
|
||||||
}
|
}
|
||||||
if (has_transform) {
|
if (has_transform) {
|
||||||
|
|
Reference in New Issue