This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 87d1fc5 TS-4479: Clang-analyzer failure, Potential memory leak
87d1fc5 is described below
commit 87d1fc5d17d82ebb8f06f4138ca82b6e3b57179c
Author: Bryan Call <[email protected]>
AuthorDate: Thu May 26 10:15:51 2016 -0700
TS-4479: Clang-analyzer failure, Potential memory leak
---
proxy/logging/LogCollationAccept.cc | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/proxy/logging/LogCollationAccept.cc
b/proxy/logging/LogCollationAccept.cc
index 525c9ed..bec47ed 100644
--- a/proxy/logging/LogCollationAccept.cc
+++ b/proxy/logging/LogCollationAccept.cc
@@ -91,12 +91,9 @@ LogCollationAccept::~LogCollationAccept()
int
LogCollationAccept::accept_event(int event, NetVConnection *net_vc)
{
- LogCollationHostSM *sm;
-
switch (event) {
case NET_EVENT_ACCEPT:
- sm = new LogCollationHostSM(net_vc);
- ink_assert(NULL != sm);
+ new LogCollationHostSM(net_vc);
break;
default:
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].