]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: cfgparse-listen: release the previous description of the proxy
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Sep 2026 14:37:58 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2026 07:22:33 +0000 (09:22 +0200)
commit0725c1a81bb252b4983b30848e85e56bd457c350
tree09fe8ef571eaf7b602a25284ebb51533f27385b9
parentfa138a0c22cc3c7a2fcb051dec378e0a20bc4a46
BUG/MINOR: cfgparse-listen: release the previous description of the proxy

The proxy's "description" keyword did not release the previous value
before assigning the new one, so the first one was leaked when the
keyword was used twice, e.g. once in a defaults section and once in the
proxy. Note that the global section's "description" does it properly.

This may be backported to all supported versions.
src/cfgparse-listen.c