]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: memory leak from the config parser
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Oct 2025 09:39:17 +0000 (11:39 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 9 Oct 2025 10:04:22 +0000 (12:04 +0200)
commitf35caafa6e75cdcdd5f9ecd91c5051c78851f2e1
tree5baa80effdc6647486c7b39134ab6d36620b1384
parent9344ecaade58b970a50c3ae8b1a69f84740a59ff
BUG/MINOR: acme: memory leak from the config parser

This patch fixes some memory leaks in the configuration parser:

- deinit_acme() was never called
- add ha_free() before every strdup() for section overwrite
- lacked some free() in deinit_acme()
src/acme.c