commit | 34c0179464252aa9c79d3e1ff778cb67636243bd | [log] [tgz] |
---|---|---|
author | Sárközi, László <laszlo.sarkozi@balabit.com> | Fri Sep 05 10:08:23 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 05 17:22:54 2014 +0200 |
tree | cfc7243902818b962b8712c04c8c042cb0cd914f | |
parent | 9dc1c61c433a30359b14bb099ddae7d154df923e [diff] |
MINOR: deinit: fix memory leak deinit() did not free the conf.file member of server objects.
diff --git a/src/haproxy.c b/src/haproxy.c index 74b2687..13c3d26 100644 --- a/src/haproxy.c +++ b/src/haproxy.c
@@ -1175,6 +1175,7 @@ free(s->check.bo); free(s->agent.bi); free(s->agent.bo); + free((char*)s->conf.file); free(s); s = s_next; }/* end while(s) */