]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: Free global_ssl structure contents during deinit
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 10 Oct 2025 15:05:21 +0000 (17:05 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 10 Oct 2025 15:22:48 +0000 (17:22 +0200)
commit9bc6a0349d7dc8b17e407b7360ceddd568ed3d7e
tree354377141401bee6adaad6eda820d7b69d0d40c3
parent54b7539d64d70f033955a0bfe7d0f19d7eef2328
BUG/MINOR: ssl: Free global_ssl structure contents during deinit

Some fields of the global_ssl structure are strings that are strdup'ed
but never freed. There is only one static global_ssl structure so not
much memory is used but we might as well free it during deinit.

This patch can be backported to all stable branches.
src/ssl_sock.c