You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/08/25 22:43:11 UTC

[2/2] trafficserver git commit: TS-3854: Memory leak with the headers in HTTP/2

TS-3854: Memory leak with the headers in HTTP/2

(cherry picked from commit 68d1e575c3cda3a9aa9ab4f184cb6756310903e7)


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/e89f0510
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/e89f0510
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/e89f0510

Branch: refs/heads/6.0.x
Commit: e89f0510097782a7c92c1cdc9bde5f3b2d3f5cf5
Parents: 85e3f85
Author: Bryan Call <bc...@apache.org>
Authored: Wed Aug 19 12:21:03 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Tue Aug 25 13:42:43 2015 -0700

----------------------------------------------------------------------
 proxy/http2/HPACK.h | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/e89f0510/proxy/http2/HPACK.h
----------------------------------------------------------------------
diff --git a/proxy/http2/HPACK.h b/proxy/http2/HPACK.h
index 3550495..e1bf430 100644
--- a/proxy/http2/HPACK.h
+++ b/proxy/http2/HPACK.h
@@ -110,6 +110,7 @@ public:
   {
     _headers.clear();
     _mhdr->fields_clear();
+    _mhdr->destroy();
     delete _mhdr;
   }