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/19 22:21:23 UTC

trafficserver git commit: TS-3855: Memory leak in HTTP/2 with the ProxyMutex

Repository: trafficserver
Updated Branches:
  refs/heads/master 68d1e575c -> 5c404b0d6


TS-3855: Memory leak in HTTP/2 with the ProxyMutex


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

Branch: refs/heads/master
Commit: 5c404b0d62e0f551611748d751d8bd80ab842aa4
Parents: 68d1e57
Author: Bryan Call <bc...@apache.org>
Authored: Wed Aug 19 13:19:33 2015 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Wed Aug 19 13:19:33 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5c404b0d/proxy/http2/Http2ConnectionState.h
----------------------------------------------------------------------
diff --git a/proxy/http2/Http2ConnectionState.h b/proxy/http2/Http2ConnectionState.h
index 41297f0..f959526 100644
--- a/proxy/http2/Http2ConnectionState.h
+++ b/proxy/http2/Http2ConnectionState.h
@@ -240,6 +240,7 @@ public:
   {
     cleanup_streams();
 
+    mutex = NULL; // magic happens - assigning to NULL frees the ProxyMutex
     delete local_dynamic_table;
     delete remote_dynamic_table;