BUG/MINOR: checks: Don't forget to release the connection on error case.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 24 Oct 2017 17:03:30 +0000 (19:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2017 14:01:01 +0000 (16:01 +0200)
commit390485a68d8a7cc2243351fc153df19a2d2cb743
tree0c79cc1d42a0803e02226870822ce4ab3ce9fbca
parent31d4dbe82508e9b525ea0700a587341ba275e770
BUG/MINOR: checks: Don't forget to release the connection on error case.

When switching the check code to a non-permanent connection, the new code
forgot to free the connection if an error happened and was returned by
connect_conn_chk(), leading to the check never be ran again.
src/checks.c