BUG/MINOR: stats: free dynamically stats fields/lines on shutdown
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 10 Nov 2020 13:24:30 +0000 (14:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Nov 2020 14:20:18 +0000 (15:20 +0100)
commit8f347381bb1380dd8ecf1d56f015a8188af42052
tree112bee3a1f939d1aa9858ca6aacde5836743a810
parent66e9ff531481d6a043ea402cb303f36b3d9ca9e1
BUG/MINOR: stats: free dynamically stats fields/lines on shutdown

Register a new function on POST DEINIT to free stats fields/lines for
each domain.

This patch does not fix a critical bug but may be backported to 2.3.

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