]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: memleak of the struct cert_key_and_chain
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 8 Apr 2020 15:38:27 +0000 (17:38 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 9 Apr 2020 13:40:26 +0000 (15:40 +0200)
commit8621ac5570a7cd225005f35808616d28a9774e88
tree76c81bf2ede1741208a3df24245cbae92b71965c
parentcaa161982f54435e7b8846d25c4d6e5ba6e639c4
BUG/MINOR: ssl: memleak of the struct cert_key_and_chain

Free the struct cert_key_and_chain when calling ckchs_free(),
a memory leak can occur when using 'commit ssl cert'.

Must be backported to 2.1.
src/ssl_sock.c