commit | af1a75d2c992411b947d1c0ebc2a1d7f1454ed04 | [log] [tgz] |
---|---|---|
author | Godbach <nylzhaowei@gmail.com> | Wed Oct 02 17:10:11 2013 +0800 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 06 13:34:09 2013 +0200 |
tree | 1932402867e27abcadb19149fb2a488b700d05ea | |
parent | 2b8fd54287efef535b6a212a4a4ed35e4a333a24 [diff] |
BUG/MINOR: deinit: free server map which is allocated in init_server_map() Both static-rr and hash with type map-based call init_server_map() to allocate server map, so the server map should be freed while doing cleanup if one of the above load balance algorithms is used. Signed-off-by: Godbach <nylzhaowei@gmail.com> [wt: removed the unneeded "if" before the free]