From a31c7f716b3e06be03011b485face05b4226049b Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 15 Jul 2011 13:14:08 +0900 Subject: [PATCH] [MINOR] Free rdp_cookie_name on denint() 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 file changed, 1 insertion(+) diff --git a/src/haproxy.c b/src/haproxy.c index 915f47a73b..321769515b 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]); -- 2.47.3