1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Free internal_runtime_cache on shutdown for NTS
This commit is contained in:
Christoph M. Becker
2024-10-21 11:39:20 +02:00

View File

@@ -1210,6 +1210,10 @@ void zend_shutdown(void) /* {{{ */
CG(script_encoding_list) = NULL;
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
zend_map_ptr_static_last = 0;
zend_map_ptr_static_size = 0;