Repository: trafficserver Updated Branches: refs/heads/master 17736704d -> 78acb3ab1
TS-4196: Memory leak from main_thread on shutdown This closes #467 Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/78acb3ab Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/78acb3ab Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/78acb3ab Branch: refs/heads/master Commit: 78acb3ab129449bc578dc1fc692083af1bdaa0ed Parents: 1773670 Author: Bryan Call <[email protected]> Authored: Thu Feb 11 20:07:36 2016 -0800 Committer: Bryan Call <[email protected]> Committed: Thu Feb 11 20:07:36 2016 -0800 ---------------------------------------------------------------------- proxy/Main.cc | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/78acb3ab/proxy/Main.cc ---------------------------------------------------------------------- diff --git a/proxy/Main.cc b/proxy/Main.cc index ee85e23..fd66cd5 100644 --- a/proxy/Main.cc +++ b/proxy/Main.cc @@ -1919,6 +1919,7 @@ main(int /* argc ATS_UNUSED */, const char **argv) #endif this_thread()->execute(); + delete main_thread; }
