This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove double-free when SSL is used.
Two PRs, #143 and #99, close a memory leak by freeing evhtp_t.ssl_ctx. Since they modify the same function at different points within the function, the memory is freed twice. This patch removes the second call to SSL_CTX_free(). Releases are affected as follows: before 1.2.7: evhtp_t.ssl_ctx is leaked 1.2.7 through 1.2.9: OK 1.2.10 and 1.2.11: evhtp_t.ssl_ctx is freed twice
- Loading branch information