[Boost-bugs] [Boost C++ Libraries] #2174: Missing ::DH_free in boost/asio/ssl/openssl_context_service.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #2174: Missing ::DH_free in boost/asio/ssl/openssl_context_service.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-07 06:42:19


#2174: Missing ::DH_free in boost/asio/ssl/openssl_context_service.hpp
-----------------------------------------------+----------------------------
 Reporter: Gancho Manev <gmanev72_at_[hidden]> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: asio
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
-----------------------------------------------+----------------------------
 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);

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2174>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC