trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shinr...@apache.org
Subject [trafficserver] branch master updated: TS-5022: resource leak fix
Date Mon, 09 Jan 2017 18:33:10 GMT
This is an automated email from the ASF dual-hosted git repository.

shinrich pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  dc5b468   TS-5022: resource leak fix
dc5b468 is described below

commit dc5b468e0cf85c881203008a5c4f9e9bb7c5f012
Author: Syeda Persia Aziz <persia.aziz@yahoo.com>
AuthorDate: Sun Jan 8 19:35:20 2017 -0600

    TS-5022: resource leak fix
---
 proxy/http/HttpSM.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 0f72b42..7d0d067 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -5047,7 +5047,7 @@ HttpSM::do_http_server_open(bool raw)
     }
 
     ats_scoped_str clientCert(
-      ats_strdup((Layout::relative_to(t_state.txn_conf->client_cert_filepath, t_state.txn_conf->client_cert_filename))));
+      (Layout::relative_to(t_state.txn_conf->client_cert_filepath, t_state.txn_conf->client_cert_filename)));
     opt.set_client_certname(clientCert);
     connect_action_handle = sslNetProcessor.connect_re(this,                            
    // state machine
                                                        &t_state.current.server->dst_addr.sa,
// addr + port

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message