mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-06 19:38:22 +00:00
BUG/MINOR: log: free errmsg on error in cfg_parse_log_forward()
When leaving cfg_parse_log_forward() on error paths, errmsg which is local to the function could still point to valid data, and it's our responsibility to free it. Instead of freeing it everywhere it is invoved, we free it prior to leaving the function. This should be backported as far as 2.4.
This commit is contained in:
parent
21cf42f579
commit
9f9d557468