File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -4384,7 +4384,7 @@ static void preload_load(size_t orig_map_ptr_static_last)
4384
4384
if (orig_map_ptr_static_last != zend_map_ptr_static_last ) {
4385
4385
/* preloaded static entries currently are all runtime cache pointers, just assign them as such */
4386
4386
size_t runtime_cache_size = zend_internal_run_time_cache_reserved_size ();
4387
- ZCG (preloaded_internal_run_time_cache_size ) = (zend_map_ptr_static_last - orig_map_ptr_static_last ) * sizeof ( void * ) ;
4387
+ ZCG (preloaded_internal_run_time_cache_size ) = (zend_map_ptr_static_last - orig_map_ptr_static_last ) * runtime_cache_size ;
4388
4388
char * cache = pemalloc (ZCG (preloaded_internal_run_time_cache_size ), 1 );
4389
4389
ZCG (preloaded_internal_run_time_cache ) = cache ;
4390
4390
You can’t perform that action at this time.
0 commit comments