BUG/MINOR: ssl: Add missing free on SSL_CTX in ckch_inst_free
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 31 Mar 2021 09:49:27 +0000 (11:49 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 31 Mar 2021 10:41:23 +0000 (12:41 +0200)
commit96d60288cf1560e522dbb6ab09e04ec3a879a80a
treec3b027714d4ce8f3ca9c29478a9d43197d197a3a
parent48b6abfdbb9eaba62797bc7af86392b53c67c19d
BUG/MINOR: ssl: Add missing free on SSL_CTX in ckch_inst_free

The ckch instance keeps a reference to its SSL_CTX since commit 358a822
("BUG/MINOR: ssl: Fix update of default certificate") but this instance
was not freed during the instance's deletion.

It can be backported as far as 2.2 and where 358a822 is backported.
src/ssl_ckch.c