[ 
https://issues.apache.org/jira/browse/TS-4794?focusedWorklogId=27975&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27975
 ]

ASF GitHub Bot logged work on TS-4794:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Sep/16 20:51
            Start Date: 02/Sep/16 20:51
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach commented on a diff in the pull 
request:

    https://github.com/apache/trafficserver/pull/855#discussion_r77410114
  
    --- Diff: iocore/net/test_P_Net.cc ---
    @@ -68,6 +68,7 @@ struct NetTesterSM : public Continuation {
         default:
           ink_release_assert(!"unknown event");
         }
    +    delete[] str;
    --- End diff --
    
    ``str`` needs to be initialized to NULL.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 27975)
    Time Spent: 20m  (was: 10m)

> fix the memory leaks
> --------------------
>
>                 Key: TS-4794
>                 URL: https://issues.apache.org/jira/browse/TS-4794
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: DNS, Network
>            Reporter: Bryon Gloden, CISSPĀ®
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> With reference to (WRT) https://github.com/apache/trafficserver/pull/855, on 
> line no. 74 of 'test_P_DNS.cc' there is a memory leak and on line no. 72 of 
> 'test_P_Net.cc' there is memory leak -- both memory leaks are errors.
> Ping [~zwoop]
> Found by https://github.com/bryongloden/cppcheck



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

Reply via email to