Repository: trafficserver Updated Branches: refs/heads/master 9c83d8117 -> d478ae53f
TS-3984: CID 1328817: Resource leaks (CTOR_DTOR_LEAK) in multiplexer plugin Suppressing the error Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/d478ae53 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/d478ae53 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/d478ae53 Branch: refs/heads/master Commit: d478ae53f20f470dada60fa38b9c4e33b41bf1ac Parents: 9c83d81 Author: Bryan Call <[email protected]> Authored: Thu Oct 29 15:08:54 2015 -0700 Committer: Bryan Call <[email protected]> Committed: Thu Oct 29 15:08:54 2015 -0700 ---------------------------------------------------------------------- plugins/experimental/multiplexer/dispatch.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d478ae53/plugins/experimental/multiplexer/dispatch.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/multiplexer/dispatch.cc b/plugins/experimental/multiplexer/dispatch.cc index 35bb2ba..fe44b0b 100644 --- a/plugins/experimental/multiplexer/dispatch.cc +++ b/plugins/experimental/multiplexer/dispatch.cc @@ -36,7 +36,9 @@ extern Statistics statistics; extern size_t timeout; Request::Request(const std::string &h, const TSMBuffer b, const TSMLoc l) - : host(h), length(TSHttpHdrLengthGet(b, l)), io(new ats::io::IO()) + : host(h), length(TSHttpHdrLengthGet(b, l)), + // coverity[ctor_dtor_leak] + io(new ats::io::IO()) { assert(!host.empty()); assert(b != NULL);
