You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2016/11/01 14:29:03 UTC

[trafficserver] branch master updated: TS-5011: Fixes memory leak in CLFUS compression

This is an automated email from the ASF dual-hosted git repository.

zwoop 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  863ce53   TS-5011: Fixes memory leak in CLFUS compression
863ce53 is described below

commit 863ce537de914df225938c8fd8105cadb5fb86c7
Author: John Plevyak <jp...@apache.org>
AuthorDate: Wed Oct 26 17:47:02 2016 -0600

    TS-5011: Fixes memory leak in CLFUS compression
---
 iocore/cache/RamCacheCLFUS.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iocore/cache/RamCacheCLFUS.cc b/iocore/cache/RamCacheCLFUS.cc
index 1f1d7b0..9a8b260 100644
--- a/iocore/cache/RamCacheCLFUS.cc
+++ b/iocore/cache/RamCacheCLFUS.cc
@@ -496,6 +496,7 @@ RamCacheCLFUS::compress_entries(EThread *thread, int do_at_most)
         }
         if (!ee || ee != e) {
           e = compressed;
+          ats_free(b);
           goto Lcontinue;
         }
       }

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].