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:
Tim Duesterhus 2023-03-19 16:07:47 +01:00 committed by William Lallemand
parent cec3baa4fa
commit b39c24b29e

View File

@ -1296,6 +1296,8 @@ out:
if (warn)
free(warn);
free(err);
return ret;
}