BUG/MINOR: ssl/cli: cleanup on cli_parse_set_cert error
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 28 Oct 2019 13:26:56 +0000 (14:26 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 28 Oct 2019 13:57:37 +0000 (14:57 +0100)
commit1212db417b198820ab14c754dc847a46a48698a0
tree6108a6792d16f753257c566faf508871a8c6d5f8
parent1a753a2ead72fbe66882289a837bda20699f2be0
BUG/MINOR: ssl/cli: cleanup on cli_parse_set_cert error

Since commit 90b098c ("BUG/MINOR: cli: don't call the kw->io_release if
kw->parse failed"), the io_release() callback is not called anymore when
the parse() failed. Call it directly on the error path of the
cli_parse_set_cert() function.
src/ssl_sock.c