TSHttpTxnErrorBodySet() can leak memory (pt 2)
----------------------------------------------

                 Key: TS-1038
                 URL: https://issues.apache.org/jira/browse/TS-1038
             Project: Traffic Server
          Issue Type: Bug
    Affects Versions: 3.0.1
            Reporter: Brian Geffon


TS-826 resolved a memory leak with TSHttpTxnErrorBodySet but it appears that 
mimetype is still being leaked. See HttpSM::setup_internal_transfer line 5416 
which frees internal_msg_buffer_type...it's expected that mimetype was malloced 
since clearly it's being freed. So that means there is still a memory leak in 
TSHttpTxnErrorBodySet().

Patch included.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to