]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mworker: remove duplicate pointer tests in cfg_parse_program()
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2021 14:58:37 +0000 (15:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2021 14:58:37 +0000 (15:58 +0100)
commit8f7efcddd6bd389e5e2c49f8f554d85d085720f2
tree3a64ed710e1c9f34b0e9ffaaa8abce10d8c7ec40
parent5ce5a1586d8c67affa604dedf0faa2c5a02ecab5
CLEANUP: mworker: remove duplicate pointer tests in cfg_parse_program()

As reported in issue #1017, there are two harmless duplicate tests in
cfg_parse_program(), one made of a "if" using the same condition as the
loop it's in, and the other one being a null test before a free. This
just removes them. No backport is needed.
src/mworker-prog.c