Opened 14 years ago
Closed 14 years ago
#2174 closed Bugs (fixed)
Missing ::DH_free in boost/asio/ssl/openssl_context_service.hpp
| Reported by: | Owned by: | chris_kohlhoff | |
|---|---|---|---|
| Milestone: | Boost 1.36.0 | Component: | asio | 
| Version: | Boost 1.35.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
There is missed ::DH_free invocation to OpenSSL that cause several memory leaks when setting up a boost::asio::ssl::context.
A fix to boost/asio/ssl/openssl_context_service.hpp (trunk version) is proposed here below :
311a312
::DH_free(dh);
314d314 < ::DH_free(dh);
  Note:
 See   TracTickets
 for help on using tickets.
    

Fixed in changeset [48032].