projects
/
haproxy-3.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec3baa
)
BUG/MINOR: ssl: Stop leaking `err` in ssl_sock_load_ocsp()
author
Tim Duesterhus
<tim@bastelstu.be>
Sun, 19 Mar 2023 15:07:47 +0000
(16:07 +0100)
committer
William Lallemand
<wlallemand@haproxy.org>
Tue, 28 Mar 2023 09:09:12 +0000
(11:09 +0200)
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.
src/ssl_sock.c
patch
|
blob
|
history
diff --git
a/src/ssl_sock.c
b/src/ssl_sock.c
index
5993a72
..
801543c
100644
(file)
--- a/
src/ssl_sock.c
+++ b/
src/ssl_sock.c
@@
-1296,6
+1296,8
@@
out:
if (warn)
free(warn);
+ free(err);
+
return ret;
}