From b08584ac71e76806127d2b2a7b22b4cb2b387336 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 15 Jul 2011 13:14:10 +0900 Subject: [PATCH] [MINOR] Free stick table pool 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 da9f8c63d..f982727b5 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -874,6 +874,7 @@ void deinit(void) pool_destroy2(p->req_cap_pool); pool_destroy2(p->rsp_cap_pool); pool_destroy2(p->hdr_idx_pool); + pool_destroy2(p->table.pool); p0 = p; p = p->next;