Skip to content

Commit

Permalink
Fix double destuct on Http2Stream termination (#7600)
Browse files Browse the repository at this point in the history
The bug was introduced by #7584.
  • Loading branch information
maskit authored Mar 15, 2021
1 parent 0350fc0 commit 94851be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion proxy/http2/Http2Stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,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());
}
}
Expand Down

0 comments on commit 94851be

Please sign in to comment.