]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: jwt: Missing pkey free during cleanup
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 4 Feb 2022 13:21:02 +0000 (14:21 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 15 Feb 2022 19:08:20 +0000 (20:08 +0100)
commit2b5a6559460b41dd6db2740cc961b461cef12edc
tree25f64dc5925e851812e5528d418be6114110509e
parent4930c6c869fb875554d60ce9a2d6362cf16cf295
BUG/MINOR: jwt: Missing pkey free during cleanup

When emptying the jwt_cert_tree during deinit, the entries are freed but
not the EVP_PKEY reference they kept, leading in a memory leak.

Should be backported in 2.5.
src/jwt.c