mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-02 15:58:03 +00: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 a6c0a59e9a
, 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…
Reference in New Issue
Block a user