Repository: trafficserver Updated Branches: refs/heads/master 7fec6dc2b -> 9c83d8117
Revert "TS-3984: CID 1328817: Resource leaks (CTOR_DTOR_LEAK) in multiplexer plugin" This reverts commit 5bb63b298755f6364cdeddce4c9a07b3136dae8c. This really isn't a leak it is deleted in another place. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9c83d811 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9c83d811 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9c83d811 Branch: refs/heads/master Commit: 9c83d811784b42273ed40666214dbe911ddc88cd Parents: 7fec6dc Author: Bryan Call <[email protected]> Authored: Thu Oct 29 14:50:56 2015 -0700 Committer: Bryan Call <[email protected]> Committed: Thu Oct 29 14:50:56 2015 -0700 ---------------------------------------------------------------------- plugins/experimental/multiplexer/dispatch.cc | 7 ------- plugins/experimental/multiplexer/dispatch.h | 1 - 2 files changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9c83d811/plugins/experimental/multiplexer/dispatch.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/multiplexer/dispatch.cc b/plugins/experimental/multiplexer/dispatch.cc index eef4bad..35bb2ba 100644 --- a/plugins/experimental/multiplexer/dispatch.cc +++ b/plugins/experimental/multiplexer/dispatch.cc @@ -47,13 +47,6 @@ Request::Request(const std::string &h, const TSMBuffer b, const TSMLoc l) assert(length == TSIOBufferReaderAvail(io->reader)); } -Request::~Request() -{ - if (io != NULL) { - delete io; - } -} - uint64_t copy(const TSIOBufferReader &r, const TSIOBuffer b) { http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9c83d811/plugins/experimental/multiplexer/dispatch.h ---------------------------------------------------------------------- diff --git a/plugins/experimental/multiplexer/dispatch.h b/plugins/experimental/multiplexer/dispatch.h index bcfcc4c..e152742 100644 --- a/plugins/experimental/multiplexer/dispatch.h +++ b/plugins/experimental/multiplexer/dispatch.h @@ -53,7 +53,6 @@ struct Request { ats::io::IO *io; Request(const std::string &, const TSMBuffer, const TSMLoc); - ~Request(); }; typedef std::vector<Request> Requests;
