BUG/MINOR: namespace: missing free in netns_sig_stop()
On soft-stop, netns_sig_stop() function is called to purge the shared
namespace tree by iterating over each entries to free them.
However, once an entry is cleaned up and removed from the tree, the entry
itself isn't freed and this results into a minor leak when soft-stopping
because entry was allocated using calloc() in netns_store_insert() when
parsing the configuration.
This could be backported in every stable versions.
(cherry picked from commit 4e17a3f5b1b5dca98efba5337274f3f719da2789)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
(cherry picked from commit d4a3892cb2b6f7ae1f2740f5da6a86bf2f53f2f9)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
(cherry picked from commit 2214cd2ba89b05fefd35eda10c9157fbddffc817)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
(cherry picked from commit c59646706d20429fb1c205228051e26c8eab6e2f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed