[
https://issues.apache.org/jira/browse/TS-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134919#comment-15134919
]
ASF GitHub Bot commented on TS-4177:
------------------------------------
GitHub user bryancall opened a pull request:
https://github.com/apache/trafficserver/pull/456
TS-4177: Memory leak in LogFieldAliasTable
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bryancall/trafficserver ts-4177
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/456.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 #456
----
commit 88c197e585d51a37728baf86ea1d09ffd44147e5
Author: Bryan Call <[email protected]>
Date: 2016-02-05T20:29:04Z
TS-4177: Memory leak in LogFieldAliasTable
----
> Memory leak in LogFieldAliasTable
> ---------------------------------
>
> Key: TS-4177
> URL: https://issues.apache.org/jira/browse/TS-4177
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging
> Reporter: Bryan Call
> Assignee: Bryan Call
>
> {code}
> Direct leak of 294 byte(s) in 23 object(s) allocated from:
> #0 0x7f0777cab96a in malloc (/lib64/libasan.so.2+0x9896a)
> #1 0x7f07779dccc5 in ats_malloc
> /home/bcall/dev/apache/trafficserver/lib/ts/ink_memory.cc:54
> #2 0x7f07779dcf66 in _xstrdup
> /home/bcall/dev/apache/trafficserver/lib/ts/ink_memory.cc:225
> #3 0x8c2a61 in LogFieldAliasTable::init(unsigned long, ...)
> /home/bcall/dev/apache/trafficserver/proxy/logging/LogFieldAliasMap.cc:78
> #4 0x898c53 in Log::init_fields()
> /home/bcall/dev/apache/trafficserver/proxy/logging/Log.cc:579
> #5 0x89b1d5 in Log::init_when_enabled()
> /home/bcall/dev/apache/trafficserver/proxy/logging/Log.cc:914
> #6 0x89bec4 in Log::init(int)
> /home/bcall/dev/apache/trafficserver/proxy/logging/Log.cc:903
> #7 0x494f65 in main
> /home/bcall/dev/apache/trafficserver/proxy/Main.cc:1796
> #8 0x7f0774be957f in __libc_start_main (/lib64/libc.so.6+0x2057f)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)