tempesta-tech / tempesta

All-in-one solution for high performance web content delivery and advanced protection against DDoS and web attacks
https://tempesta-tech.com/
GNU General Public License v2.0
615 stars 103 forks source link

Fix memory leak in apm.c #2224

Closed EvgeniiMekhanik closed 1 month ago

EvgeniiMekhanik commented 1 month ago

We allocate hm_entry in tfw_apm_create_def_health_stat_srv and add it to tfw_hm_codes_list, so we should destroy it when we cleanup health monitor data structures.