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:
  Fix leak of accel_globals->key
This commit is contained in:
Niels Dossche
2025-05-19 19:34:27 +02:00

View File

@@ -2977,9 +2977,7 @@ static void accel_globals_ctor(zend_accel_globals *accel_globals)
static void accel_globals_dtor(zend_accel_globals *accel_globals)
{
#ifdef ZTS
zend_string_free(accel_globals->key);
#endif
if (accel_globals->preloaded_internal_run_time_cache) {
pefree(accel_globals->preloaded_internal_run_time_cache, 1);
}