Skip to content

Commit 5269ea0

Browse files
committed
fix(worker): reset ini and session: support PHP8.2
1 parent 60e71a1 commit 5269ea0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frankenphp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ static void frankenphp_restore_ini(void) {
256256
/* Entry was not in snapshot: collect for restore to startup default */
257257
if (restore_count >= restore_capacity) {
258258
restore_capacity = restore_capacity ? restore_capacity * 2 : 8;
259-
entries_to_restore =
260-
erealloc(entries_to_restore, restore_capacity * sizeof(zend_string *));
259+
entries_to_restore = erealloc(entries_to_restore,
260+
restore_capacity * sizeof(zend_string *));
261261
}
262262
entries_to_restore[restore_count++] = zend_string_copy(entry_name);
263263
} else if (!zend_string_equals(ini_entry->value, snapshot_value)) {

0 commit comments

Comments
 (0)