GitHub user bryongloden opened a pull request:

    https://github.com/apache/trafficserver/pull/855

    fix the memory leaks

    On line no. 74 of 
'[test_P_DNS.cc](https://github.com/apache/trafficserver/blob/master/iocore/dns/test_P_DNS.cc#L74)'
 there is a memory leak and on line no. 72 of 
'[test_P_Net.cc](https://github.com/apache/trafficserver/blob/master/iocore/net/test_P_Net.cc#L72)'
 there is memory leak -- both memory leaks are errors.
    
    Found by https://github.com/bryongloden/cppcheck

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bryongloden/trafficserver patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/855.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #855
    
----
commit 9a7a865a4bc9d981d367d0d856cda853677a4a85
Author: Bryon Gloden, CISSP® <[email protected]>
Date:   2016-08-11T22:57:56Z

    Update test_P_DNS.cc
    
    [iocore/dns/test_P_DNS.cc:74]: (error) Memory leak: str

commit 43baedea3a2107f04eaba459e426e956b4e75c29
Author: Bryon Gloden, CISSP® <[email protected]>
Date:   2016-08-11T22:59:36Z

    Update test_P_Net.cc
    
    [iocore/net/test_P_Net.cc:72]: (error) Memory leak: str

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to