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

masaori 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  60d3d1f   TS-4905: Set parent NULL after destroy() is called
60d3d1f is described below

commit 60d3d1fc542f9d33317e35ced399bef1f9c89516
Author: Masaori Koshiba <[email protected]>
AuthorDate: Tue Oct 4 17:56:45 2016 +0900

    TS-4905: Set parent NULL after destroy() is called
---
 proxy/http/Http1ClientTransaction.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http/Http1ClientTransaction.cc 
b/proxy/http/Http1ClientTransaction.cc
index 2220e60..5097c8c 100644
--- a/proxy/http/Http1ClientTransaction.cc
+++ b/proxy/http/Http1ClientTransaction.cc
@@ -67,6 +67,7 @@ Http1ClientTransaction::transaction_done()
   // If the parent session is not in the closed state, the destroy will not 
occur.
   if (parent) {
     parent->destroy();
+    parent = NULL;
   }
 }
 

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to