BUG/MINOR: proxy: add missing interface bind free in free_proxy

bind->settings.interface hint is allocated when "interface" keyword
is specified on a bind line, but the string isn't explicitly freed in
proxy_free, resulting in minor memory leak on deinit paths when the
keyword is being used.

It partially fixes GH #2173 and may be backported to all stable versions.

[in 2.2 free_proxy did not exist so the patch must be applied directly
in deinit() function from haproxy.c]

(cherry picked from commit 9be9225ef288d707ba8e446c77ff822a521cbb4e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 12d6b9a7cb9bf1d9ff8f2c89cb3d1fca7b584da8)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 5a868187286f6e704018a96e961db8318e78ee29)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 2441b51aa8c90e0a64cd8cad582088b8e09cbf4b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/proxy.c b/src/proxy.c
index 990e1b5..ace4b35 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -303,6 +303,7 @@
 			bind_conf->xprt->destroy_bind_conf(bind_conf);
 		free(bind_conf->file);
 		free(bind_conf->arg);
+		free(bind_conf->settings.interface);
 		LIST_DELETE(&bind_conf->by_fe);
 		free(bind_conf);
 	}