Skip to content

Commit b5f8820

Browse files
committed
Fix double destuct on Http2Stream termination
The bug was introduced by apache#7584.
1 parent 0350fc0 commit b5f8820

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

proxy/http2/Http2Stream.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ Http2Stream::terminate_if_possible()
482482

483483
Http2ClientSession *h2_proxy_ssn = static_cast<Http2ClientSession *>(this->_proxy_ssn);
484484
SCOPED_MUTEX_LOCK(lock, h2_proxy_ssn->connection_state.mutex, this_ethread());
485-
this->~Http2Stream();
486485
THREAD_FREE(this, http2StreamAllocator, this_ethread());
487486
}
488487
}

0 commit comments

Comments
 (0)