]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] stick_table: fix possible memory leak in case of connection error
authorWilly Tarreau <w@1wt.eu>
Sun, 6 Jun 2010 16:28:49 +0000 (18:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 08:49:24 +0000 (10:49 +0200)
commita4cda67323319364b1a1e6a71e52b7aa41632156
tree0f98d89b022dcf6c4f77669dacfacb2cd1493787
parent5ce9457d991c06af97a14a373416c8b4f344aec5
[BUG] stick_table: fix possible memory leak in case of connection error

If a "stick store-request" rule is present, an entry is preallocated during
the request. However, if there is no response due to an error or to a redir
mode server, we never release it.
src/session.c