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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 5993a72b06..801543cb77 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -1296,6 +1296,8 @@ static int ssl_sock_load_ocsp(const char *path, SSL_CTX 
*ctx, struct ckch_data *
        if (warn)
                free(warn);
 
+       free(err);
+
        return ret;
 }
 
-- 
2.40.0


Reply via email to