GitHub user canselcik opened a pull request: https://github.com/apache/trafficserver/pull/340
Memory leak in Rule::socksParse(char*) if a token is missing the '=' sign Memory is allocated at line 585 with `TokenList *m_tokenList = new TokenList()` but reference to it is lost when the function returns early due to a token not having the `=` sign. @bgaff You can merge this pull request into a Git repository by running: $ git pull https://github.com/canselcik/trafficserver genericParser-memleak-fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/trafficserver/pull/340.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 #340 ---- commit 06243e21b28bcc1e8e7c69ab8cd471b4157cfdfb Author: Can Selcik <csel...@linkedin.com> Date: 2015-11-16T19:55:48Z Memory leak in Rule::socksParse(char*) when a token is missing the '=' sign Memory is allocated at line 585 with `TokenList *m_tokenList = new TokenList()` but reference to it is lost when the function returns early due to a token not having the `=` sign. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---