Oknet Xu created TS-4056:
----------------------------

             Summary: MemLeak: ~NetAccept() do not free alloc_cache(vc)
                 Key: TS-4056
                 URL: https://issues.apache.org/jira/browse/TS-4056
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
            Reporter: Oknet Xu


NetAccpet::alloc_cache is a void pointor is used in net_accept().

the alloc_cache does not release after NetAccept canceled.

I'm looking for all code, believe the "alloc_cache" is a bad idea here.

I create a pull request on github: 
https://github.com/apache/trafficserver/pull/366

also add a condition check for vc==NULL after allocate_vc()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to