Repository: trafficserver Updated Branches: refs/heads/master 4cdc43881 -> 447ad332f
TS-3863: Add support for ASAN leak detection The ssl_plugin_mutex is newed and then freed by the proxy allocator. Using the proxy allocator to allocate it. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/447ad332 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/447ad332 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/447ad332 Branch: refs/heads/master Commit: 447ad332f083242c76b1cd8bd183ad60a44c4bc2 Parents: 4cdc438 Author: Bryan Call <[email protected]> Authored: Wed Nov 11 15:37:29 2015 -0800 Committer: Bryan Call <[email protected]> Committed: Wed Nov 11 15:39:02 2015 -0800 ---------------------------------------------------------------------- proxy/http/HttpProxyServerMain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/447ad332/proxy/http/HttpProxyServerMain.cc ---------------------------------------------------------------------- diff --git a/proxy/http/HttpProxyServerMain.cc b/proxy/http/HttpProxyServerMain.cc index 4d2cd81..74b2a75 100644 --- a/proxy/http/HttpProxyServerMain.cc +++ b/proxy/http/HttpProxyServerMain.cc @@ -263,7 +263,7 @@ init_HttpProxyServer(int n_accept_threads) plugin_http_transparent_accept->mutex = new_ProxyMutex(); } if (ssl_plugin_mutex == NULL) { - ssl_plugin_mutex = new ProxyMutex(); + ssl_plugin_mutex = mutexAllocator.alloc(); ssl_plugin_mutex->init("SSL Acceptor List"); }
