1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 19:52:20 +02:00
Files
archived-php-src/main
Bob Weinand e6cf583160 Fix GH-8082: Prevent leaking memory on observed transient run_time_caches
This is achieved by tracking the observers on the run_time_cache (with a fixed amount of slots, 2 for each observer).
That way round, if the run_time_cache is freed all associated observer data is as well.

This approach has been chosen, as to avoid any ABI or API breakage.
Future versions may for example choose to provide a hookable API for run_time_cache freeing or similar.
2022-03-01 14:49:44 +01:00
..
2019-02-03 21:03:00 +01:00
2020-06-08 10:38:45 +02:00
2020-01-27 13:32:51 +01:00
2020-09-11 14:49:07 +02:00
2021-07-15 15:29:48 +02:00
2020-01-27 13:32:51 +01:00
2020-10-21 10:07:07 +02:00
2020-06-08 10:38:45 +02:00
2020-03-26 11:49:27 +01:00
2022-02-02 23:44:02 +00:00
2021-04-19 16:17:01 +02:00
2020-06-29 17:47:21 +02:00
2021-01-19 11:44:22 +01:00
2020-06-08 10:38:45 +02:00