]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: free peer's address when exiting upon parsing error
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jan 2013 23:29:37 +0000 (00:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2013 15:19:18 +0000 (16:19 +0100)
commit846257ececc6ad00cfa75c3a37bb5509303a7c93
treeb4c57b024fbd176464e4f156cf929c26212477e7
parentf678b7f32253fa7b279f907dbda563e985c6478c
BUG/MINOR: config: free peer's address when exiting upon parsing error

An error caused by an invalid port does not cause the raddr string to
be freed. This is harmless at the moment since we exit, but may have
an impact later if we ever support hot config changes.

Reported-by: Dinko Korunic <dkorunic@reflected.net>
src/cfgparse.c