The motivation for this is that when soft-restart is merged
it will be come more important to free all relevant memory in deinit()

Discovered using valgrind.
---
 src/haproxy.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/haproxy.c b/src/haproxy.c
index 915f47a..3217695 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -697,6 +697,7 @@ void deinit(void)
                free(p->url_param_name);
                free(p->capture_name);
                free(p->monitor_uri);
+               free(p->rdp_cookie_name);
 
                for (i = 0; i < HTTP_ERR_SIZE; i++)
                        chunk_destroy(&p->errmsg[i]);
-- 
1.7.5.4


Reply via email to