mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
BUG/MINOR: ssl: Stop leaking err
in ssl_sock_load_ocsp()
Previously performing a config check of `.github/h2spec.config` would report a 20 byte leak as reported in GitHub Issue #2082. The leak was introduced in a6c0a59e9af65180c3ff591b91855bea8d19b352, which is dev only. No backport needed.
This commit is contained in:
parent
cec3baa4fa
commit
b39c24b29e
@ -1296,6 +1296,8 @@ out:
|
|||||||
if (warn)
|
if (warn)
|
||||||
free(warn);
|
free(warn);
|
||||||
|
|
||||||
|
free(err);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user