commit | 4b524124db9dc6e64b4e0f0882b5fc71d24970e0 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Feb 11 10:42:41 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Feb 11 11:48:36 2021 +0100 |
tree | ae48868a0c3a5dda8b46eb89ac135081c02192cd | |
parent | 0aeaa290daa492bf770a256ec7f5b9f367bc6378 [diff] |
BUG/MINOR: tools: Fix a memory leak on error path in parse_dotted_uints() When an invalid character is found during parsing in parse_dotted_uints() function, the allocated array of uint must be released. This patch fixes a memory leak on error path during the configuration parsing. This patch should fix the issue #1106. It should be backported as far as 2.0. Note that, for 2.1 and 2.0, the function is in src/standard.c