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 @@ -4389,7 +4389,7 @@ static void preload_load(size_t orig_map_ptr_static_last)
4389
4389
if (orig_map_ptr_static_last != zend_map_ptr_static_last ) {
4390
4390
/* preloaded static entries currently are all runtime cache pointers, just assign them as such */
4391
4391
size_t runtime_cache_size = zend_internal_run_time_cache_reserved_size ();
4392
- ZCG (preloaded_internal_run_time_cache_size ) = (zend_map_ptr_static_last - orig_map_ptr_static_last ) * sizeof ( void * ) ;
4392
+ ZCG (preloaded_internal_run_time_cache_size ) = (zend_map_ptr_static_last - orig_map_ptr_static_last ) * runtime_cache_size ;
4393
4393
char * cache = pemalloc (ZCG (preloaded_internal_run_time_cache_size ), 1 );
4394
4394
ZCG (preloaded_internal_run_time_cache ) = cache ;
4395
4395
You can’t perform that action at this time.
0 commit comments