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: Gancho Manev <gmanev72@…> 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);

Change History (1)

comment:1 by chris_kohlhoff, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [48032].

Note: See TracTickets for help on using tickets.