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  aa03895   TS-4982: Fix memory leaks in test_Http2DependencyTree
aa03895 is described below

commit aa0389578d54fd6eb45f837df3b09f2a6f3c2420
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Oct 18 12:06:49 2016 -0700

    TS-4982: Fix memory leaks in test_Http2DependencyTree
---
 proxy/http2/test_Http2DependencyTree.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/proxy/http2/test_Http2DependencyTree.cc 
b/proxy/http2/test_Http2DependencyTree.cc
index 9218cdb..933b6b8 100644
--- a/proxy/http2/test_Http2DependencyTree.cc
+++ b/proxy/http2/test_Http2DependencyTree.cc
@@ -443,6 +443,8 @@ 
REGRESSION_TEST(Http2DependencyTree_remove_1)(RegressionTest *t, int /* atype AT
   tree->deactivate(node_c, 16);
   tree->remove(node_c);
   box.check(tree->find(7) == NULL, "Node C should be removed");
+
+  delete tree;
 }
 
 /**
@@ -492,6 +494,8 @@ 
REGRESSION_TEST(Http2DependencyTree_remove_2)(RegressionTest *t, int /* atype AT
   box.check(tree->find(3) == NULL, "Tree should be empty");
   box.check(tree->find(5) == NULL, "Tree should be empty");
   box.check(tree->find(7) == NULL, "Tree should be empty");
+
+  delete tree;
 }
 
 REGRESSION_TEST(Http2DependencyTree_max_depth)(RegressionTest *t, int /* atype 
ATS_UNUSED */, int *pstatus)
@@ -508,6 +512,8 @@ 
REGRESSION_TEST(Http2DependencyTree_max_depth)(RegressionTest *t, int /* atype A
 
   Tree::Node *node = tree->find(101);
   box.check(node->parent->id == 0, "101st node should be child of root node");
+
+  delete tree;
 }
 
 int

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

Reply via email to