BUG/MINOR: proxy: missing free in free_proxy for redirect rules

cookie_str from struct redirect, which may be allocated through
http_parse_redirect_rule() function is not properly freed on proxy
cleanup within free_proxy().

This could be backported to all stable versions.

[for 2.2, free_proxy() did not exist so the fix needs to be performed
directly in deinit() function from haproxy.c]

(cherry picked from commit 8dfc2491d2e3a511246f570e0de86c253a86ec54)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c7ecad8ebd89c0ceffcdb76f49ba7f0257b6cef4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 1b1c6f3122820544155a165bfb77695e582b166f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed