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

zwoop pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.1.x by this push:
     new 05bc1bf  Fix double destuct on Http2Stream termination (#7600)
05bc1bf is described below

commit 05bc1bf0f8a4022b760b58476880f27cd12a85b1
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Tue Mar 16 00:20:27 2021 +0900

    Fix double destuct on Http2Stream termination (#7600)
    
    The bug was introduced by #7584.
    
    (cherry picked from commit 94851be668c5291e03bdd402d9c89c4dfddfd5d7)
---
 proxy/http2/Http2Stream.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/proxy/http2/Http2Stream.cc b/proxy/http2/Http2Stream.cc
index acfa373..c52f4d4 100644
--- a/proxy/http2/Http2Stream.cc
+++ b/proxy/http2/Http2Stream.cc
@@ -485,7 +485,6 @@ Http2Stream::terminate_if_possible()
 
     Http2ClientSession *h2_proxy_ssn = static_cast<Http2ClientSession 
*>(this->_proxy_ssn);
     SCOPED_MUTEX_LOCK(lock, h2_proxy_ssn->connection_state.mutex, 
this_ethread());
-    this->~Http2Stream();
     THREAD_FREE(this, http2StreamAllocator, this_ethread());
   }
 }

Reply via email to