You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/02 20:52:20 UTC

[jira] [Work logged] (TS-4794) fix the memory leaks

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

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

                Author: ASF GitHub Bot
            Created on: 02/Sep/16 20:52
            Start Date: 02/Sep/16 20:52
    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_r77410158
  
    --- Diff: iocore/dns/test_P_DNS.cc ---
    @@ -70,6 +70,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: 27976)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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)