Skip to content

Commit a9561d0

Browse files
committed
fix(worker): reset ini and session: support PHP8.2
1 parent 9f17df7 commit a9561d0

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
@@ -248,8 +248,8 @@ static void frankenphp_restore_ini(void) {
248248
/* Entry was not in snapshot: collect for restore to startup default */
249249
if (restore_count >= restore_capacity) {
250250
restore_capacity = restore_capacity ? restore_capacity * 2 : 8;
251-
entries_to_restore =
252-
erealloc(entries_to_restore, restore_capacity * sizeof(zend_string *));
251+
entries_to_restore = erealloc(entries_to_restore,
252+
restore_capacity * sizeof(zend_string *));
253253
}
254254
entries_to_restore[restore_count++] = zend_string_copy(entry_name);
255255
} else if (!zend_string_equals(ini_entry->value, snapshot_value)) {

0 commit comments

Comments
 (0)