commit | 51013e82d4931c4f0ce6f7fc99788a39cc6960ed | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Dec 11 12:05:39 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 11 12:05:39 2019 +0100 |
tree | 8161ea84cb8b096b49fadbeb0d702034974d286f | |
parent | 9ef75ecea129e3f77aaeb38cf5c163d0eb73742e [diff] |
BUG/MINOR: log: fix minor resource leaks on logformat error path As reported by Ilya in issue #392, Coverity found that we're leaking allocated strings on error paths in parse_logformat(). Let's use a proper exit label for failures instead of seeding return 0 everywhere. This should be backported to all supported versions.