You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Oknet Xu (JIRA)" <ji...@apache.org> on 2015/12/07 16:01:10 UTC

[jira] [Created] (TS-4056) MemLeak: ~NetAccept() do not free alloc_cache(vc)

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)