From: Simon Horman Date: Fri, 15 Jul 2011 04:14:08 +0000 (+0900) Subject: [MINOR] Free rdp_cookie_name on denint() X-Git-Tag: v1.5-dev8~188 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=a31c7f716b3e06be03011b485face05b4226049b;p=haproxy.git [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. --- diff --git a/src/haproxy.c b/src/haproxy.c index 915f47a73..321769515 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]);