mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-02 02:02:03 +00:00
BUG/MINOR: ssl: ocsp structure not freed properly in case of error
In case of error, the ocsp item might already be in the ocsp certificate tree but simply freed instead of destroyed through ssl_sock_free_ocsp. This patch can be backported to all stable versions.
This commit is contained in:
parent
1621dc1cc5
commit
aa529f776d
@ -1594,7 +1594,7 @@ out:
|
||||
OCSP_CERTID_free(cid);
|
||||
|
||||
if (ocsp)
|
||||
free(ocsp);
|
||||
ssl_sock_free_ocsp(ocsp);
|
||||
|
||||
if (warn)
|
||||
free(warn);
|
||||
|
Loading…
Reference in New Issue
Block a user