trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] 05/05: TS-4905: Set parent NULL after destroy() is called
Date Wed, 12 Oct 2016 22:38:27 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 7.0.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 31b7a7282951613917c4bdc73d838a8ff859161f
Author: Masaori Koshiba <masaori@apache.org>
AuthorDate: Tue Oct 4 17:56:45 2016 +0900

    TS-4905: Set parent NULL after destroy() is called
    
    (cherry picked from commit 60d3d1fc542f9d33317e35ced399bef1f9c89516)
---
 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
"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>.

Mime
View raw message