mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.4'
* PHP-8.4: Free internal_runtime_cache on shutdown for NTS
This commit is contained in:
commit
c2459d8cc2
1 changed files with 4 additions and 0 deletions
|
@ -1210,6 +1210,10 @@ void zend_shutdown(void) /* {{{ */
|
||||||
CG(script_encoding_list) = NULL;
|
CG(script_encoding_list) = NULL;
|
||||||
CG(script_encoding_list_size) = 0;
|
CG(script_encoding_list_size) = 0;
|
||||||
}
|
}
|
||||||
|
if (CG(internal_run_time_cache)) {
|
||||||
|
pefree(CG(internal_run_time_cache), 1);
|
||||||
|
CG(internal_run_time_cache) = NULL;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
zend_map_ptr_static_last = 0;
|
zend_map_ptr_static_last = 0;
|
||||||
zend_map_ptr_static_size = 0;
|
zend_map_ptr_static_size = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue