Repository: trafficserver
Updated Branches:
  refs/heads/master bf4c99005 -> a4125c837


TS-4181: Memory leak in aio threads when shutting down

This closes #463


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a4125c83
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a4125c83
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a4125c83

Branch: refs/heads/master
Commit: a4125c8371ad1feaf2f4f91d65ef9551621a6aaf
Parents: bf4c990
Author: Bryan Call <[email protected]>
Authored: Thu Feb 11 18:51:19 2016 -0800
Committer: Bryan Call <[email protected]>
Committed: Thu Feb 11 18:51:19 2016 -0800

----------------------------------------------------------------------
 iocore/aio/AIO.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a4125c83/iocore/aio/AIO.cc
----------------------------------------------------------------------
diff --git a/iocore/aio/AIO.cc b/iocore/aio/AIO.cc
index cf6784f..3bb6885 100644
--- a/iocore/aio/AIO.cc
+++ b/iocore/aio/AIO.cc
@@ -188,6 +188,7 @@ struct AIOThreadInfo : public Continuation {
     (void)event;
     (void)e;
     aio_thread_main(this);
+    delete this;
     return EVENT_DONE;
   }
 

Reply via email to