From: Christos Tsantilas Date: Thu, 31 Jul 2014 14:02:20 +0000 (+0300) Subject: Fix reconfiguration leaks: objects tied to http_port part1 X-Git-Tag: SQUID_3_5_0_1~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43cc65bbfd1e3709ba975a953e6d161d17ea5ccd;p=thirdparty%2Fsquid.git Fix reconfiguration leaks: objects tied to http_port part1 This patch cleans up forgotten(?) clientca and crlfile PortCfg members. Note: PortCfg objects are still leaking so this change alone is not enough --- diff --git a/src/anyp/PortCfg.cc b/src/anyp/PortCfg.cc index c1d357ef8e..4657f61a04 100644 --- a/src/anyp/PortCfg.cc +++ b/src/anyp/PortCfg.cc @@ -77,10 +77,12 @@ AnyP::PortCfg::~PortCfg() #if USE_OPENSSL safe_free(cert); safe_free(key); - safe_free(options); safe_free(cipher); + safe_free(options); + safe_free(clientca); safe_free(cafile); safe_free(capath); + safe_free(crlfile); safe_free(dhfile); safe_free(sslflags); safe_free(sslContextSessionId);