]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: config: do not use multiple errmsg at once
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Mar 2013 18:44:48 +0000 (19:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Mar 2013 20:36:31 +0000 (21:36 +0100)
commit902636fd736e24397a128777d5f8e20af9928dd9
treed28542501375b1c98b93dba2d53cece2d4c0b370
parentc120c8d3478c146091ae531fe449e937449f175f
CLEANUP: config: do not use multiple errmsg at once

Several of the parsing functions made use of multiple errmsg/err_msg
variables which had to be freed, while there is already one in each
function that is freed upon exit. Adapt the code to use the existing
variable exclusively.
src/cfgparse.c