BUG/MINOR: proxy: fix email-alert leak on deinit()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 10 Jun 2024 15:01:32 +0000 (17:01 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Jun 2024 07:06:48 +0000 (09:06 +0200)
commit28d69a218e66beca7f9035d660c7539052e4bfe0
tree33648bd455e92901f5c191812cae937ebec4ed86
parentcc722a3e5ba549bcdcc6c38d488f31e7230faa05
BUG/MINOR: proxy: fix email-alert leak on deinit()

proxy email-alert settings weren't cleaned up in free_proxy(), resulting
in small memory leak if "email-alert to" or "email-alert from" were used
on a regular or default proxy.

It may be backported to all stable versions.

(cherry picked from commit fa90a7d313703cfc4e1b41d258d0d6d470ffe967)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/proxy.c